A newer version of this page is available. Switch to the current version.

DataViewBase.NavigationStyle Property

Gets or sets whether row and cell focusing is allowed. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v19.1.Core.dll


public GridViewNavigationStyle NavigationStyle { get; set; }
Public Property NavigationStyle As GridViewNavigationStyle

Property Value

Type Description

A value that specifies whether row and cell focusing is allowed.


If the NavigationStyle property is GridViewNavigationStyle.Cell, the View displays the focused row and the focused cell. In this case, end users are allowed to edit cell values.

Setting the NavigationStyle property to GridViewNavigationStyle.Row, hides the cell focus. In this case, end users cannot edit cell values.

To display neither the focused row nor the focused cell, set the NavigationStyle property to GridViewNavigationStyle.None. In this case, data editing is not allowed.

See Also