CustomHeaderButton(ButtonPredefines, String, Int32, Boolean, Boolean, EditorButtonImageOptions, AppearanceObject, AppearanceObject, AppearanceObject, AppearanceObject, String, Object, SuperToolTip) Constructor
Initializes a new CustomHeaderButton instance.
Namespace: DevExpress.XtraTab.Buttons
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
[EditorButtonPreferredConstructor]
public CustomHeaderButton(
ButtonPredefines kind,
string caption,
int width,
bool enabled,
bool visible,
EditorButtonImageOptions imageOptions,
AppearanceObject appearance,
AppearanceObject appearanceHovered,
AppearanceObject appearancePressed,
AppearanceObject appearanceDisabled,
string toolTip,
object tag,
SuperToolTip superTip
)
#Parameters
Name | Type | Description |
---|---|---|
kind | Button |
The predefined button type. |
caption | String | The button caption. Displayed when kind is Clear, Delete, Drop |
width | Int32 | The button width. |
enabled | Boolean | true if the button is enabled; otherwise, false. |
visible | Boolean | true if the button is visible; otherwise, false. |
image |
DevExpress. |
Image display options. |
appearance | Appearance |
The button’s appearance options. |
appearance |
Appearance |
The button’s appearance options in the hovered state. |
appearance |
Appearance |
The button’s appearance options in the pressed state. |
appearance |
Appearance |
The button’s appearance options in the disabled state. |
tool |
String | The button’s tooltip. |
tag | Object | The button’s tag. |
super |
Super |
The button’s super tooltip. |