Skip to main content

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.v14.2.Core.dll

#Declaration

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

#Property Value

Type Description
GridViewNavigationStyle

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

#Remarks

If the NavigationStyle property is set to GridViewNavigationStyle.Cell, the View displays the focused row and the focused cell. In this instance, 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. If you do not want to display either the focused row or the focused cell, set the NavigationStyle property to GridViewNavigationStyle.None. Note that data editing is not allowed.

To learn more, see Focus and Navigation.

See Also