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

NavigatorCustomButton(Int32, Int32) Constructor

In This Article

Initializes a new instance of the NavigatorCustomButton class with the specified visual position and image index.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public NavigatorCustomButton(
    int index,
    int imageIndex
)

#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.

See Also