C# Class OpenSlx.Lib.Web.Controls.Impl.PicklistItemDisplay

Representation for a list item, for the SimplePicklist control. The value and text do not necessarily correspond to the values from the picklist table, instead they depend on the StorageMode / DisplayMode
Mostrar archivo Open project: nicocrm/OpenSlx Class Usage Examples

Public Methods

Method Description
PicklistItemDisplay ( PickList pkl, PicklistStorageMode displayMode, PicklistStorageMode storageMode ) : System

Create a picklist item from a SalesLogix picklist object. Value and Text will be extracted from the picklist item based on display mode and storage mode.

Private Methods

Method Description
FormatText ( PickList item, PicklistStorageMode picklistMode ) : string

Format the given picklist item according to the specified mode.

Method Details

PicklistItemDisplay() public method

Create a picklist item from a SalesLogix picklist object. Value and Text will be extracted from the picklist item based on display mode and storage mode.
public PicklistItemDisplay ( PickList pkl, PicklistStorageMode displayMode, PicklistStorageMode storageMode ) : System
pkl PickList
displayMode PicklistStorageMode
storageMode PicklistStorageMode
return System