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
value = SeS('SomeDXButtonEdit').GetText()
SeS('SomeDXButtonEdit').SetText(value)
Action Detail¶
DoSetText¶
Sets text value of this object.
SeS('SomeDXButtonEdit').DoSetText(val)
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
value = SeS('SomeDXButtonEdit').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
value = SeS('SomeDXButtonEdit').GetButtonKind(index)
Action Detail¶
DoClickButton¶
Selects an item of this object.
SeS('SomeDXButtonEdit').DoClickButton(index, isLeft)
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.