Skip to main content
A newer version of this page is available. .

DataControlBase.NavigationStyle Property

Gets or sets whether to allow users to focus rows and cells. This is a dependency property.

Namespace: DevExpress.WinUI.Grid

Assembly: DevExpress.WinUI.Grid.v22.1.dll

NuGet Package: DevExpress.WinUI

Declaration

[DP(NavigationStyle.Row, Handler = "NavigationStyleChanged")]
public NavigationStyle NavigationStyle { get; set; }

Property Value

Type Description
NavigationStyle

A value that specifies whether to allow users to focus rows and cells.

Available values:

Name Description
Row

The GridControl displays only the focused row. The focused cell is not displayed. Users are not allowed to edit data.

Cell

The GridControl displays the focused row and focused cell. Users are allowed to edit data.

None

The GridControl displays neither the focused row nor the focused cell. Users are not allowed to edit data.

Remarks

Set the NavigationStyle property to NavigationStyle.Cell to display the focused row and the focused cell. In this case, users can edit cell values.

If the NavigationStyle property is set to NavigationStyle.Row, the GridControl displays the focused row only. In this case, users cannot edit cell values.

To display neither the focused row nor the focused cell, set the NavigationStyle property to NavigationStyle.None. In this case, users cannot edit cell values.

See Also