Skip to main content

DataControlBase.NavigationStyle Property

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

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

[XtraSerializableProperty]
[CloneDetailMode(CloneDetailMode.Skip)]
public GridControlNavigationStyle NavigationStyle { get; set; }

Property Value

Type Description
GridControlNavigationStyle

A GridControlNavigationStyle enumeration value that specifies whether row focusing is allowed.

Available values:

Name Description
Row

A grid displays the focused row. Data editing is not allowed.

Cell

The grid displays the focused row and focused cell. Data editing is allowed.

None

A grid doesn’t display the focused row. Data editing is not allowed.

Remarks

If the NavigationStyle property is set to GridControlNavigationStyle.Row, end-users are allowed to navigate through the grid using the keyboard arrow keys to change the focused row. If you don’t want to display the focused row, set the NavigationStyle property to GridControlNavigationStyle.None.

See Also