Xceed.Silverlight.DataGrid.v2.0 Assembly > Xceed.Silverlight.DataGrid Namespace > DataGridControl Class : SortDescriptions Property |
'Declaration Public ReadOnly Property SortDescriptions As SortDescriptionCollection
'Usage Dim instance As DataGridControl Dim value As SortDescriptionCollection value = instance.SortDescriptions
public SortDescriptionCollection SortDescriptions {get;}
<sldg:DataGridControl.SortDescriptions> <!--The "s" alias references the System.ComponentModel namespace in the the System.Windows assembly xmlns:s="clr-namespace:System.ComponentModel;assembly=System.Windows"--> <s:SortDescription PropertyName="ShipCountry"/> <s:SortDescription PropertyName="ShipCity" Direction="Descending"/> </sldg:DataGridControl.SortDescriptions> <sldg:DataGridControl.Columns> <sldg:Column FieldName="Freight" SortDirection="Ascending"/> </sldg:DataGridControl.Columns>
Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family