DataNavigatorButtons Class
Holds settings for buttons displayed in a DataNavigator control.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v18.1.dll
Declaration
Related API Members
The following members accept/return DataNavigatorButtons objects:
Remarks
You can access settings for buttons displayed in a DataNavigator control using the control’s DataNavigator.Buttons property. The property’s return value is a DataNavigatorButtons object.
The image below illustrates the data navigator’s buttons and how they appear by default when you create the control.
The table below describes each button’s functionality.
Button | Description |
---|---|
First | Navigates to the first record in the data source. This button’s settings are available via the DataNavigatorButtons.First property. |
PrevPage | Navigates backwards by the number of records specified via the DataNavigatorButtons.PageRecordCount property. This button’s settings are available via the DataNavigatorButtons.PrevPage property. |
Prev | Navigates to the previous record. This button’s settings are available via the DataNavigatorButtons.Prev property. |
Next | Navigates to the next record. This button’s settings are available via the DataNavigatorButtons.Next property. |
NextPage | Navigates forward by the number of records specified via the DataNavigatorButtons.PageRecordCount property. This button’s settings are available via the DataNavigatorButtons.NextPage property. |
Last | Navigates to the last record. This button’s settings are available via the DataNavigatorButtons.Last property. |
Append | Inserts a new record. This button’s settings are available via the DataNavigatorButtons.Append property. |
Remove | Deletes the current record and focuses the next record. This button’s settings are available via the DataNavigatorButtons.Remove property. |
EndEdit | Posts the current record’s modifications to the associated data source. This button’s settings are available via the DataNavigatorButtons.EndEdit property. |
CancelEdit | Cancels current record modifications. This button’s settings are available via the DataNavigatorButtons.CancelEdit property. |
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the DataNavigatorButtons class.
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.