DataNavigatorButtons Class

Holds settings for buttons displayed in a DataNavigator control.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

public class DataNavigatorButtons :
    NavigatorButtonsBase
Public Class DataNavigatorButtons
    Inherits NavigatorButtonsBase

Returned By

The DataNavigator.Buttons property returns an instance of DataNavigatorButtons.

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.

DataNavigatorButtons

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.

Inheritance

Object
NavigatorButtonsBase
DataNavigatorButtons
See Also