EditorButton(ButtonPredefines, String, Int32, Boolean, Boolean, Boolean, HorzAlignment, Image, KeyShortcut, AppearanceObject, String, Object, SuperToolTip, Boolean) Constructor
Initializes a new instance of the EditorButton class.
Namespace: DevExpress.XtraEditors.Controls
Assembly: DevExpress.XtraEditors.v24.2.dll
#Declaration
[EditorBrowsable(EditorBrowsableState.Never)]
public EditorButton(
ButtonPredefines kind,
string caption,
int width,
bool enabled,
bool visible,
bool isLeft,
HorzAlignment imageAlignment,
Image image,
KeyShortcut shortcut,
AppearanceObject appearance,
string toolTip,
object tag,
SuperToolTip superTip,
bool enableImageTransparency
)
#Parameters
Name | Type | Description |
---|---|---|
kind | Button |
A Button |
caption | String | A String value which specifies the button’s caption. This value is assigned to the Editor |
width | Int32 | An integer value specifying the button’s width. This value is assigned to the Editor |
enabled | Boolean | The value to initialize the button’s Editor |
visible | Boolean | The value to initialize the button’s Editor |
is |
Boolean | The value to initialize the button’s Editor |
image |
Horz |
The value to initialize the button’s Editor |
image | Image | The value to initialize the button’s Editor |
shortcut | Key |
The value to initialize the button’s Editor |
appearance | Appearance |
A Appearance |
tool |
String | A String value which specifies the button’s tool tip. This value is assigned to the Editor |
tag | Object | A Object value which identifies the button. This value is assigned to the Editor |
super |
Super |
A Super |
enable |
Boolean | A Boolean value that specifies whether specific pixels in the button’s image are displayed transparent. This value is assigned to the Editor |