Xceed.Silverlight.DataGrid.v2.0 Assembly > Xceed.Silverlight.DataGrid Namespace > SelectionRange Class : SelectionType Property |
'Declaration Public Property SelectionType As SelectionType
'Usage Dim instance As SelectionRange Dim value As SelectionType instance.SelectionType = value value = instance.SelectionType
public SelectionType SelectionType {get; set;}
Dim range As New SelectionRange( New SortDescription() { New SortDescription( "ShipCountry", ListSortDirection.Ascending ) }, Nothing, Nothing ) range.SelectionType = SelectionType.Unselection range.StartRangeInfos.Add( "ShipCountry", "Canada" ) range.EndRangeInfos.Add( "ShipCountry", "Canada" ) sldgDataGridControl.SelectedRanges.Add( range )
SelectionRange range = new SelectionRange( new SortDescription[] { new SortDescription( "ShipCountry", ListSortDirection.Ascending ) }, null, null ); range.SelectionType = SelectionType.Unselection; range.StartRangeInfos.Add( "ShipCountry", "Canada" ); range.EndRangeInfos.Add( "ShipCountry", "Canada" ); sldgDataGridControl.SelectedRanges.Add( range );
Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family