Click or drag to resize

PicklistItem Properties

The PicklistItem type exposes the following members.

Properties
  NameDescription
Public propertyAltInt
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.
Public propertyAltText
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.
Public propertyAttributes
Gets/sets the item's PicklistItemAttrs.
Public propertyDiscrim
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].

Public propertyDisplayText
Gets/Sets the display text of the item
Public propertyGroup
Grouping value for picklist item. Group is ignored unless the browser supports the <optgroup> tag and the OptionGroupAdapter is installed (via a .browser file).
Public propertyImagePath
Gets/Sets the ImagePath value.
Public propertyName
Gets/sets the name of the item.
Public propertyPicklistItemID
The unique ID (picklist_item_id) for this item in the xmt_picklist_items table.
Public propertyToolTip
Gets/sets the tooltip for the item.
Public propertyValue
Returns the value of the item.
Public propertyValueAsString
Get the value of this item, converted to a string.
Public propertyValueType
The system.type of the value. (Default is String)
Top
See Also