Xceed DataGrid for Silverlight Documentation
StartRangeInfos Property
Example 


Gets a notification dictionary of key/value pairs that represents the start range-information for a selection range.
Syntax
'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;}

Property Value

NotificationDictionary of key/value pairs that represents the start range-information for a selection range.
Example
For more information and examples on selecting data, refer to the Selecting Data topic.
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 );
Requirements

Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family

See Also

Reference

SelectionRange Class
SelectionRange Members
SelectionRange.EndRangeInfos Property

Manipulating Data

Selecting Data

Send Feedback