Xceed DataGrid for WPF v7.2 Documentation
NavigationBehavior Enumeration


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace : NavigationBehavior Enumeration
Value indicating how the focus navigates from one element to another in a grid.
Syntax
'Declaration
 
Public Enum NavigationBehavior 

   Inherits System.Enum
'Usage
 
Dim instance As NavigationBehavior
public enum NavigationBehavior : System.Enum 
Members
MemberDescription
CellOnlyNavigation is cell based.
None

Navigation is not permitted in a grid. Elements cannot receive the focus.

The CurrentItem and SelectedItem/SelectedItems properties must be set to a null reference (Nothing in Visual Basic) in order to reset them when the NavigationBehavior property is set to None.

RowOnlyNavigation is row based. Cells will never receive the focus.
RowOrCellNavigation is row based unless a cell in a row is clicked. If a cell is clicked, then navigation from cell to cell within the row is permitted. Once the focus is moved out of the row, navigation returns to row based.
Remarks

The CurrentItem and SelectedItem/SelectedItems properties must be set to a null reference (Nothing in Visual Basic) in order to reset them when the NavigationBehavior property is set to None.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Xceed.Wpf.DataGrid.NavigationBehavior

Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Xceed.Wpf.DataGrid Namespace

Properties

NavigationBehavior Property (DataGridControl Class)
NavigationBehavior Property (Row Class)