EditorButton(ButtonPredefines, String, Int32, Boolean, Boolean, Boolean, EditorButtonImageOptions, KeyShortcut, AppearanceObject, AppearanceObject, AppearanceObject, AppearanceObject, String, Object, SuperToolTip, ToolTipAnchor) 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
[EditorButtonPreferredConstructor]
public EditorButton(
ButtonPredefines kind,
string caption,
int width,
bool enabled,
bool visible,
bool isLeft,
EditorButtonImageOptions imageOptions,
KeyShortcut shortcut,
AppearanceObject appearance,
AppearanceObject appearanceHovered,
AppearanceObject appearancePressed,
AppearanceObject appearanceDisabled,
string toolTip,
object tag,
SuperToolTip superTip,
ToolTipAnchor toolTipAnchor
)
#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 |
DevExpress. |
An Editor |
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 |
tool |
DevExpress. |
A Tool |