Skip to main content

NavigatorButtonBase(Int32, Boolean, Boolean, String, Object) Constructor

Initializes a new instance of the NavigatorButtonBase class.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public NavigatorButtonBase(
    int imageIndex,
    bool enabled,
    bool visible,
    string hint,
    object tag
)

Parameters

Name Type Description
imageIndex Int32

An integer value which specifies the zero-based index of the image within the source collection. This value is assigned to the NavigatorButtonBase.ImageIndex property.

enabled Boolean

true if the button is enabled and a user can perform actions on it; otherwise, false. This value is assigned to the NavigatorButtonBase.Enabled property.

visible Boolean

true if the button is visible; otherwise, false. This value is assigned to the NavigatorButtonBase.Visible property.

hint String

A String value which represents the text displayed when the mouse pointer is over the button. This value is assigned to the NavigatorButtonBase.Hint property.

tag Object

An object that contains information which is associated with the button. This value is assigned to the NavigatorButtonBase.Tag property.

See Also