PicklistItem Properties |
The PicklistItem type exposes the following members.
Name | Description | |
---|---|---|
AltInt |
Returns the alternate integer.
The alternate integer will be used as the key for the picklist item if the
PicklistAttrs.StoreAltInt attribute is set. If not, alternate integer
provides a way to associate locale-insensitive integer data with a picklist item.
| |
AltText |
Returns the alternate text.
The alternate text will be used as the key for the picklist item if the
PicklistAttrs.StoreAltText attribute is set. If not, alternate text
provides a way to associate locale-insensitive text data with a picklist item.
| |
Attributes |
Gets/sets the item's PicklistItemAttrs.
| |
Discrim |
Gets the item's discriminator. The discriminator value is used to group PicklistItem objects
in a particular Picklist into sets of values that are mutually exclusive. For example, you
could have a Picklist of states in various countries where all of the states
in a paricular country would have the same Discrim. Picklists configured in this manner
can be used to support cascading comboboxes. In this case a Countries combobox could be used to populate
the available values in a States combobox.
When used on a mapper IField the field's Discrim property must be set. The DISCRIM value should almost always be a field reference of the form "[field-key]" which tells the mapper that it should use the set of picklist values whose DISCRIM matches the value for that field in the current row. For the above states example, the DISCRIM setting for the states field would be something like [country]. | |
DisplayText |
Gets/Sets the display text of the item
| |
Group |
Grouping value for picklist item. Group is ignored unless the browser supports
the <optgroup> tag and the OptionGroupAdapter is installed (via a .browser
file).
| |
ImagePath |
Gets/Sets the ImagePath value.
| |
Name |
Gets/sets the name of the item.
| |
PicklistItemID |
The unique ID (picklist_item_id) for this item in the xmt_picklist_items table.
| |
ToolTip |
Gets/sets the tooltip for the item.
| |
Value |
Returns the value of the item.
| |
ValueAsString |
Get the value of this item, converted to a string.
| |
ValueType |
The system.type of the value. (Default is String)
|