CustomHeaderButton(ButtonPredefines, String, Int32, Boolean, Boolean, ImageLocation, Image, AppearanceObject, String, Object, SuperToolTip, Boolean) Constructor
Initializes a new CustomHeaderButton instance with the specified settings.
Namespace: DevExpress.XtraTab.Buttons
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
public CustomHeaderButton(
ButtonPredefines kind,
string caption,
int width,
bool enabled,
bool visible,
ImageLocation imageLocation,
Image image,
AppearanceObject appearance,
string toolTip,
object tag,
SuperToolTip superTip,
bool enableImageTransparency
)
#Parameters
Name | Type | Description |
---|---|---|
kind | Button |
A Button |
caption | String | A string value that specifies a button’s caption. This parameter initializes the Editor |
width | Int32 | An integer value that specifies a button’s width. This parameter initializes the Editor |
enabled | Boolean | true if a button is enabled; otherwise, false. This parameter initializes the Editor |
visible | Boolean | true if a button is visible; otherwise, false. This parameter initializes the Editor |
image |
Image |
An Image |
image | Image | A button’s image. |
appearance | Appearance |
An Appearance |
tool |
String | A string value that specifies a button’s tooltip. This parameter initializes the Editor |
tag | Object | An object value that specifies a button’s tag. This parameter initializes the Editor |
super |
Super |
A Super |
enable |
Boolean | true if image transparency is supported; otherwise, false. |