EditorButton(ButtonPredefines, String, Int32, Boolean, Boolean, Boolean, ImageLocation, Image, KeyShortcut, AppearanceObject, AppearanceObject, AppearanceObject, AppearanceObject, String, Object, SuperToolTip, Boolean) Constructor
Initializes a new instance of the EditorButton class with the specified settings.
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,
ImageLocation imageLocation,
Image image,
KeyShortcut shortcut,
AppearanceObject appearance,
AppearanceObject appearanceHovered,
AppearanceObject appearancePressed,
AppearanceObject appearanceDisabled,
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 | true if the editor button is enabled and an end-user can perform actions on it; otherwise, false. This value is assigned to the Editor |
visible | Boolean | true if the button is visible; otherwise, false. This value is assigned to the Editor |
is |
Boolean | true if the button is aligned to the editor’s left edge; false if the button is aligned to the editor’s right edge. This value is assigned to the Editor |
image |
Image |
An Image |
image | Image | A Image object which represents the image displayed on the button’s surface. |
shortcut | Key |
A Key |
appearance | Appearance |
An Appearance |
appearance |
Appearance |
An Appearance |
appearance |
Appearance |
An Appearance |
appearance |
Appearance |
An Appearance |
tool |
String | A String value which specifies the button’s tool tip. This value is assigned to the Editor |
tag | Object | An object to be associated with 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. |