NavigatorButtonBase.ButtonType Property
Gets the button’s type.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v25.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Property Value
| Type | Description |
|---|---|
| NavigatorButtonType | The NavigatorButtonType.Custom value. |
Available values:
| Name | Description |
|---|---|
| Custom | Reserved for future use. |
| First |
|
| PrevPage |
|
| Prev |
|
| Next |
|
| NextPage |
|
| Last |
|
| Append |
|
| Remove |
|
| Edit |
|
| EndEdit |
|
| CancelEdit |
|
Remarks
The ButtonType property is overridden in derived classes to return the type of a single button.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the ButtonType property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
Sets the current record to the first record in the data source.
When using the DataNavigator, changes the current record position in a data source by the
Sets the current record to the previous record in the data source.
Sets the current record to the next record in the data source.
When using the DataNavigator, changes the current record position in a data source by the
Sets the current record to the last record in the data source.
Inserts a new record after the last one.
Deletes the current record and makes the next record the current record.
Sets the dataset to the edit state.
Posts edited record value to the associated data source.
Cancels edits to the current record.