PicklistItem Class |
Namespace: NetQuarry
The PicklistItem type exposes the following members.
Name | Description | |
---|---|---|
PicklistItem(Object, String) |
ctor, creates an instance of a PicklistItem.
| |
PicklistItem(Object, String, String) |
overloaded ctor, creates an instance of a PicklistItem.
| |
PicklistItem(Object, String, Type) |
overloaded ctor, creates an instance of a PicklistItem
| |
PicklistItem(Object, String, String, String) |
Constructor creates an instance of a PicklistItem with a possible group.
| |
PicklistItem(Object, String, Type, String) |
Constructor, creates an instance of a PicklistItem with an optional group.
| |
PicklistItem(Object, String, String, PicklistItemAttrs, Type) |
overloaded ctor, creates an instance of a PicklistItem
| |
PicklistItem(Object, String, String, String, PicklistItemAttrs) |
Constructor creates an instance of a PicklistItem with a possible group.
| |
PicklistItem(Object, String, String, PicklistItemAttrs, Type, String, String, String, Int32) |
Overloaded ctor, creates an instance of a PicklistItem. This version of the ctor is specifically
intended for StandardLookup items by accepting the picklistItemID which is the value from the
xmt_picklist_item.picklist_item_id column.
| |
PicklistItem(Object, String, String, PicklistItemAttrs, Type, String, String, String, Int32, String, PicklistAttrs) |
Overloaded constructor, creates an instance of a PicklistItem.
This version of the constructor is specifically intended for StandardLookup items with grouping
by accepting the picklistItemID which is the value from the xmt_picklist_item.picklist_item_id column.
|
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)
|
Name | Description | |
---|---|---|
Clone |
Creates and returns a copy of this PicklistItem.
| |
Equals | (Inherited from Object.) | |
ExtractImageAndTip |
Extracts the ItemImage and Item tooltip from the display text
| |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HashKey |
Get the hash key for the item.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
EqualValue |
Determines if the object value is equal to another object. If the two objects are null, then this returns true.
There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways).
If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.) |