Skip to main content

NavigatorCustomButton(Int32, Int32, Boolean, String) Constructor

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public NavigatorCustomButton(
    int index,
    int imageIndex,
    bool enabled,
    string hint
)

Parameters

Name Type Description
index Int32

The visual position of the current custom button within the combined list of the built-in and custom buttons. This value is assigned to the NavigatorCustomButton.Index property.

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.

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.

See Also