DXButtonEdit

DevXpress ButtonEdit.

UI element class: DevExpress.XtraEditors.ButtonEdit

Extends ManagedObject

Extends SeSSimulatedObject

Behavior Pattern: ManagedObjectTextBehavior

Property Summary

Property Description Getter Setter
Text Text of the object, 'false' if text can not be read. GetText SetText

Action Summary

Action Description
DoSetText Sets text value of this object.

Property Detail

Text

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

Type: string

Accessors: GetText, SetText

Action Detail

DoSetText(val)

Sets text value of this object.

Parameters:

Name Type Description
val string Text value.

Returns:

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

Behavior Pattern: DXButtonEditBehavior

Property Summary

Property Description Getter Setter
ButtonCount Number of buttons in this control. GetButtonCount
ButtonKind Kind of a button at index. GetButtonKind

Action Summary

Action Description
DoClickButton Selects an item of this object.

Property Detail

ButtonCount

Number of buttons in this control.

Type: number

Accessors: GetButtonCount

ButtonKind

Kind of a button at index. Returns one of Glyph, Ellipsis, Delete, OK, Plus, Minus, Redo, Undo or DropDown

Getter Parameters:

Name Type Description
index number index of button

Type: string

Accessors: GetButtonKind

Action Detail

DoClickButton(index, isLeft)

Selects an item of this object.

Parameters:

Name Type Description
index number index of button to select
isLeft boolean set to 'true' if buttons are at the left of the control
Optional, Default: false.

Returns:

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