EditorButton(ButtonPredefines, String, Int32, Boolean, Boolean, Boolean, HorzAlignment, Image, String, 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
NuGet Package: DevExpress.Win.Navigation
#Declaration
[EditorBrowsable(EditorBrowsableState.Never)]
public EditorButton(
ButtonPredefines kind,
string caption,
int width,
bool enabled,
bool visible,
bool isLeft,
HorzAlignment imageAlignment,
Image image,
string imageUri,
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 |
image | Image | The value to initialize the button’s |
image |
String | The value to initialize the button’s image. |
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. |