Skip to main content

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.1.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 ButtonPredefines

The predefined button type.

caption String

The button caption. Displayed when kind is Clear, Delete, DropDown, Ellipsis, Glyph, Minus, Ok, Plus, Redo, Search, Separator or Undo.

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.

imageOptions DevExpress.XtraEditors.Controls.EditorButtonImageOptions

Image display options.

appearance AppearanceObject

The button’s appearance options.

appearanceHovered AppearanceObject

The button’s appearance options in the hovered state.

appearancePressed AppearanceObject

The button’s appearance options in the pressed state.

appearanceDisabled AppearanceObject

The button’s appearance options in the disabled state.

toolTip String

The button’s tooltip.

tag Object

The button’s tag.

superTip SuperToolTip

The button’s super tooltip.

See Also