Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CustomHeaderButton(ButtonPredefines, String, Int32, Boolean, Boolean, EditorButtonImageOptions, AppearanceObject, AppearanceObject, AppearanceObject, AppearanceObject, String, Object, SuperToolTip) Constructor

In This Article

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 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