Skip to main content
A newer version of this page is available. .

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.v19.2.dll

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 ButtonPredefines

A ButtonPredefines value that specifies a button’s kind. This parameter initializes the EditorButton.Kind property.

caption String

A string value that specifies a button’s caption. This parameter initializes the EditorButton.Caption property.

width Int32

An integer value that specifies a button’s width. This parameter initializes the EditorButton.Width property.

enabled Boolean

true if a button is enabled; otherwise, false. This parameter initializes the EditorButton.Enabled property.

visible Boolean

true if a button is visible; otherwise, false. This parameter initializes the EditorButton.Visible property.

imageLocation ImageLocation

An ImageLocation value that specifies a button’s image alignment. This parameter initializes the EditorButton.ImageLocation property.

image Image

A button’s image. This parameter initializes the EditorButton.Image property.

appearance AppearanceObject

An AppearanceObject that specifies a button’s appearance. This parameter initializes the EditorButton.Appearance property.

toolTip String

A string value that specifies a button’s tooltip. This parameter initializes the EditorButton.ToolTip property.

tag Object

An object value that specifies a button’s tag. This parameter initializes the EditorButton.Tag property.

superTip SuperToolTip

A SuperToolTip object that specifies a button’s extended tooltip. This parameter initializes the EditorButton.SuperTip property.

enableImageTransparency Boolean

true if image transparency is supported; otherwise, false. This parameter initializes the EditorButton.EnableImageTransparency property.

See Also