Xceed.Silverlight.DataGrid.v2.0 Assembly > Xceed.Silverlight.DataGrid Namespace > SelectionRange Class : StartRangeInfos Property |
'Declaration Public ReadOnly Property StartRangeInfos As SelectionRange.StartRangeDictionary
'Usage Dim instance As SelectionRange Dim value As SelectionRange.StartRangeDictionary value = instance.StartRangeInfos
public SelectionRange.StartRangeDictionary StartRangeInfos {get;}
Dim range As New SelectionRange( New SortDescription() { New SortDescription( "ShipVia", ListSortDirection.Ascending ), New SortDescription( "OrderDate", ListSortDirection.Ascending )}, Nothing, Nothing ) range.StartRangeInfos.Add( "ShipVia", 2 ) range.StartRangeInfos.Add( "OrderDate", New DateTime( 2006, 01, 01 ) ) range.EndRangeInfos.Add( "ShipVia", 2 ) range.EndRangeInfos.Add( "OrderDate", New DateTime( 2006, 12, 31 ) ) Me.sldgDataGridControl.SelectedRanges.Clear() Me.sldgDataGridControl.SelectedRanges.Add( range )
SelectionRange range = new SelectionRange( new SortDescription[] { new SortDescription( "ShipVia", ListSortDirection.Ascending ), new SortDescription( "OrderDate", ListSortDirection.Ascending )}, null, null ); range.StartRangeInfos.Add( "ShipVia", 2 ); range.StartRangeInfos.Add( "OrderDate", new DateTime( 2006, 01, 01 ) ); range.EndRangeInfos.Add( "ShipVia", 2 ); range.EndRangeInfos.Add( "OrderDate", new DateTime( 2006, 12, 31 ) ); this.sldgDataGridControl.SelectedRanges.Clear(); this.sldgDataGridControl.SelectedRanges.Add( range );
Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family
SelectionRange Class
SelectionRange Members
SelectionRange.EndRangeInfos Property