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, String, Object, SuperToolTip) Constructor

In This Article

Initializes a new instance of the CustomHeaderButton class with the specified settings.

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,
    string toolTip,
    object tag,
    SuperToolTip superTip
)

#Parameters

Name Type Description
kind ButtonPredefines

A ButtonPredefines enumeration value that specifies the surface icon of a button.

caption String

A String value that is the button caption.

width Int32

An Int32 value that is 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

An EditorButtonImageOptions object that stores image-related properties.

appearance AppearanceObject

An AppearanceObject assigned to this button.

toolTip String

A String value that is the button hint.

tag Object

An Object that can be used to identify different buttons.

superTip SuperToolTip

A SuperToolTip that is the button super tip.

See Also