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

NavigatorButtonType Enum

Contains values specifying the type of buttons displayed in the data navigator control.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public enum NavigatorButtonType

#Members

Name Description
Custom

Reserved for future use.

First

First_button Sets the current record to the first record in the data source.

PrevPage

PrevPage_button 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

Prev_button Sets the current record to the previous record in the data source.

Next

Next_button Sets the current record to the next record in the data source.

NextPage

NextPage_button 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

Last_button Sets the current record to the last record in the data source.

Append

Append_button Inserts a new record after the last one.

Remove

Remove_button Deletes the current record and makes the next record the current record.

Edit

Edit_Button Sets the dataset to the edit state.

EndEdit

EndEdit_button Posts edited record value to the associated data source.

CancelEdit

CancelEdit_button 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:

See Also