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

NavigatorButtonsBase.ButtonByButtonType(NavigatorButtonType) Method

Returns a value representing a data navigator button.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public NavigatorButton ButtonByButtonType(
    NavigatorButtonType type
)

#Parameters

Name Type Description
type NavigatorButtonType

A NavigatorButtonType enumeration member specifying the button type.

#Returns

Type Description
NavigatorButton

A NavigatorButton object representing the navigator’s button. null (Nothing in Visual Basic) if no button is found.

#Remarks

The ButtonByButtonType method searches the button collection for a button with the type specified by the type parameter. If such a button is found, the NavigatorButton object representing this button is returned. Otherwise, the method returns null (Nothing in Visual Basic). Members of the NavigatorButtonType enumeration represent available button types.

See Also