'Declaration Public Property SelectionUnit As SelectionUnit
'Usage Dim instance As DataGridControl Dim value As SelectionUnit instance.SelectionUnit = value value = instance.SelectionUnit
public SelectionUnit SelectionUnit {get; set;}
'Declaration Public Property SelectionUnit As SelectionUnit
'Usage Dim instance As DataGridControl Dim value As SelectionUnit instance.SelectionUnit = value value = instance.SelectionUnit
public SelectionUnit SelectionUnit {get; set;}
Changing SelectionUnit resets the selection.
If the property is set to SelectionUnit.Row and you attempt to add to SelectedCellRanges, or if it is set to SelectionUnit.Cell and you attempt to add to SelectedItemRanges or SelectedItem, an exception will be thrown.
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