Back to Devexpress

NavigatorButton.ButtonType Property

windowsforms-devexpress-dot-xtraeditors-dot-navigatorbutton.md

latest3.6 KB
Original Source

NavigatorButton.ButtonType Property

Gets the button’s type.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
public override NavigatorButtonType ButtonType { get; }
vb
<Browsable(False)>
Public Overrides ReadOnly Property ButtonType As NavigatorButtonType

Property Value

TypeDescription
NavigatorButtonType

A NavigatorButtonType enumeration member specifying the button’s type.

|

Available values:

Show 12 items

NameDescription
Custom

Reserved for future use.

| | First |

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

| | PrevPage |

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 |

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

| | Next |

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

| | NextPage |

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 |

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

| | Append |

Inserts a new record after the last one.

| | Remove |

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

| | Edit |

Sets the dataset to the edit state.

| | EndEdit |

Posts edited record value to the associated data source.

| | CancelEdit |

Cancels edits to the current record.

|

Remarks

Use this property to obtain a single button type. Available button types are described in the NavigatorButtonType topic.

See Also

NavigatorButtonType

NavigatorButton Class

NavigatorButton Members

DevExpress.XtraEditors Namespace