Component PropertyDefCtl
Web Control PropertyDefFieldCtl
Overview
This control is simple control which depending on the type, it will display the control differently.
Properties (cosmetic properties are excluded)
Following are important Properties:
Property Name |
Type |
Remark |
PropertyType |
enumPropertyType |
A list of types: String/text, xml,dropdown list, options, combolist, etc |
Value |
String |
This is the real object of value |
Text |
String |
This is the friendly display of control. It depending on the control type, it will display differently. For example; dropdown will display the text, instead of the integer value |
ValidationGroup |
String |
|
Config |
PropertyDefControlConfig |
All the configurations about the control. It’s shared across the controls |
Methods
Following are important methods:
Method Name |
Type |
Remark |
refresh() |
|
To reload the data/display |
reset() |
|
Clear all input |
getNameValueListFromLookup() |
Dictionary<string,string> |
If the type is lookup, it will check the list of enumeration |
getDataFromLookup() |
Object |
This is to get the data from lookup. System check assembly, and load data from assembly. For example; the property is marked as eCatalogCollection. It will get the data from the list of eCatalogCollection |
|
|
|
Class PropertyDefControlConfig
This class is used to define configuration of Property Definition.