Back to Devexpress

TableView.ShowDataNavigator Property

wpf-devexpress-dot-xpf-dot-grid-dot-tableview-54879514.md

latest3.4 KB
Original Source

TableView.ShowDataNavigator Property

Gets or sets whether to show the data navigator. This is a dependency property.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public bool ShowDataNavigator { get; set; }
vb
Public Property ShowDataNavigator As Boolean

Property Value

TypeDescription
Boolean

true, to show the data navigator; otherwise, false.

|

Remarks

The embedded Data Navigator allows users to add and remove rows. Refer to the following help topic for more information: Add and Remove Rows.

To show the Data Navigator, set the ShowDataNavigator property to true.

To add a new row, a user should click the Data Navigator‘s Append (+) button.

To remove a row, a user should focus the row and click the Data Navigator‘s Delete (-) button.

Tip

Use the DataViewBase.DataNavigatorButtons property to specify which buttons to display in the Data Navigator.

Refer to the following help topic for information on how to display grid data across multiple pages: Data Paging.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowDataNavigator property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-spreadsheet-bind-grid-control-to-worksheet-data/CS/WpfSpreadsheet_DataBinding/MainWindow.xaml#L33

xml
<dxg:GridControl.View>
    <dxg:TableView ShowGroupPanel="False" ShowDataNavigator="True" NewItemRowPosition="Bottom"/>
</dxg:GridControl.View>

See Also

TableView Class

TableView Members

DevExpress.Xpf.Grid Namespace