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(val)

Selects a color.

Parameters:

Name Type Description
val struct structure with three fields '{R, G, B}'.

Returns:

boolean: 'true' if successfule, 'false' otherwise

DoSetText(val)

Sets text value of this object.

Parameters:

Name Type Description
val string Text value.

Returns:

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