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

DataNavigatorButtons Class

Holds settings for buttons displayed in a DataNavigator control.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public class DataNavigatorButtons :
    NavigatorButtonsBase

The following members return DataNavigatorButtons objects:

#Remarks

The DataNavigator.Buttons collection is a DataNavigatorButtons object that allows you to access and customize the data navigator’s buttons.

Use the Property Grid to change button settings at design time.

DataNavigator - Buttons - Design-time

The following table shows properties you can use to change button settings.

Button Description
First The button that moves the current position to the first record in the data source.
PrevPage Gets the Data Navigator button that moves the current position back by a specified number of records.
Prev The button that moves the current position to the previous record.
Next The button that moves the current position to the next record.
NextPage Gets the Data Navigator button that moves the current position forward by a specified number of records.
Last The button that moves the current position to the last record in the data source.
Append The button used to insert a new record.
Remove The button used to delete the current record.
EndEdit The button used to post modifications to the data source.
CancelEdit The button used to cancel modifications to the current record.

#Inheritance

Object
NavigatorButtonsBase
DataNavigatorButtons
See Also