DXColorEdit¶
DevXpress ColorEdit.
UI element class: DevExpress.XtraEditors.ColorEdit
Extends ManagedObject
Extends SeSSimulatedObject
Behavior Pattern: DXColorEditBehavior
Property Summary¶
Property | Description | Getter | Setter |
---|---|---|---|
SelectedColor | Selected color of the object | GetSelectedColor | SetSelectedColor |
SelectedText | Text of the selected item in a single string. | GetSelectedText | SetSelectedText |
Text | Text of the object, 'false' if text can not be read. | GetText | SetText |
Action Summary¶
Action | Description |
---|---|
DoSelectColor | Selects a color. |
DoSetText | Sets text value of this object. |
Property Detail¶
SelectedColor¶
Selected color of the object
Type: struct
Accessors: GetSelectedColor, SetSelectedColor
value = SeS('SomeDXColorEdit').GetSelectedColor()
SeS('SomeDXColorEdit').SetSelectedColor(value)
SelectedText¶
Text of the selected item in a single string.
Type: string
Accessors: GetSelectedText, SetSelectedText
value = SeS('SomeDXColorEdit').GetSelectedText()
SeS('SomeDXColorEdit').SetSelectedText(value)
Text¶
Text of the object, 'false' if text can not be read.
Type: string
Accessors: GetText, SetText
value = SeS('SomeDXColorEdit').GetText()
SeS('SomeDXColorEdit').SetText(value)
Action Detail¶
DoSelectColor¶
Selects a color.
SeS('SomeDXColorEdit').DoSelectColor(val)
Parameters:
Name | Type | Description |
---|---|---|
val | struct | structure with three fields '{R, G, B}'. |
Returns:
boolean: 'true' if successful, 'false' otherwise
DoSetText¶
Sets text value of this object.
SeS('SomeDXColorEdit').DoSetText(val)
Parameters:
Name | Type | Description |
---|---|---|
val | string | Text value. |
Returns:
boolean: 'true' if success, 'false' otherwise.