NavigatorButtonType Enum
Contains values specifying the type of buttons displayed in the data navigator control.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v18.1.dll
Declaration
Members
Name | Description |
---|---|
Custom
|
Reserved for future use. |
First
|
Sets the current record to the first record in the data source. |
PrevPage
|
When using the DataNavigator, changes the current record position in a data source by the DataNavigatorButtons.PageRecordCount property value backwards. In case of the ControlNavigator, changes the current record position in a data source by the count of visible onscreen records backwards. |
Prev
|
Sets the current record to the previous record in the data source. |
Next
|
Sets the current record to the next record in the data source. |
NextPage
|
When using the DataNavigator, changes the current record position in a data source by the DataNavigatorButtons.PageRecordCount property value upwards. In case of the ControlNavigator, changes the current record position in a data source by the count of visible onscreen records upwards. |
Last
|
Sets the current record to the last record in the data source. |
Append
|
Inserts a new record after the last one. |
Remove
|
Deletes the current record and makes the next record the current record. |
Edit
|
Sets the dataset to the edit state. |
EndEdit
|
Posts edited record value to the associated data source. |
CancelEdit
|
Cancels edits to the current record. |
Related API Members
The following properties accept/return NavigatorButtonType values:
Remarks
Members of the NavigatorButtonType enumeration specify all available data navigator button types and can be accessed via the NavigatorButton.ButtonType property. The following table lists available types:
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the NavigatorButtonType enum.
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.