'Declaration Public Enum NavigationBehavior Inherits System.Enum
'Usage Dim instance As NavigationBehavior
public enum NavigationBehavior : System.Enum
'Declaration Public Enum NavigationBehavior Inherits System.Enum
'Usage Dim instance As NavigationBehavior
public enum NavigationBehavior : System.Enum
Member | Description |
---|---|
CellOnly | Navigation 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. |
RowOnly | Navigation is row based. Cells will never receive the focus. |
RowOrCell | Navigation 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. |
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.
System.Object
System.ValueType
System.Enum
Xceed.Wpf.DataGrid.NavigationBehavior
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