NavigatorButtonsBase.ButtonByButtonType(NavigatorButtonType) Method
Returns a value representing a data navigator button.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v25.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
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.