Skip to main content

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

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

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