Back to Devexpress

DataNavigatorButtons Class

windowsforms-devexpress-dot-xtraeditors-32359fcb.md

latest3.5 KB
Original Source

DataNavigatorButtons Class

Holds settings for buttons displayed in a DataNavigator control.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public class DataNavigatorButtons :
    NavigatorButtonsBase
vb
Public Class DataNavigatorButtons
    Inherits 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.

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

ButtonDescription
FirstThe button that moves the current position to the first record in the data source.
PrevPageGets the Data Navigator button that moves the current position back by a specified number of records.
PrevThe button that moves the current position to the previous record.
NextThe button that moves the current position to the next record.
NextPageGets the Data Navigator button that moves the current position forward by a specified number of records.
LastThe button that moves the current position to the last record in the data source.
AppendThe button used to insert a new record.
RemoveThe button used to delete the current record.
EndEditThe button used to post modifications to the data source.
CancelEditThe button used to cancel modifications to the current record.

Inheritance

Object NavigatorButtonsBase DataNavigatorButtons

See Also

DataNavigatorButtons Members

NavigatorButton

Buttons

NavigatorButtonsBase

DevExpress.XtraEditors Namespace