Skip to content

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

SelectedText

Text of the selected item in a single string.

Type: string

Accessors: GetSelectedText, SetSelectedText

Text

Text of the object, 'false' if text can not be read.

Type: string

Accessors: GetText, SetText

Action Detail

DoSelectColor

Selects a color.

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.

DoSetText(val) 

Parameters:

Name Type Description
val string Text value.

Returns:

boolean: 'true' if success, 'false' otherwise.