Xceed.Silverlight.DataGrid.v2.0 Assembly > Xceed.Silverlight.DataGrid Namespace > DataGridControl Class : AllowSort Property |
'Declaration Public Property AllowSort As Boolean
'Usage Dim instance As DataGridControl Dim value As Boolean instance.AllowSort = value value = instance.AllowSort
public bool AllowSort {get; set;}
If a column's AllowSort property has been explicitly defined, it will override the value defined by the grid's AllowSort property or a column-manager row's AllowColumnSort property.
If the underlying data source does not permit sorting the data items will not be sortable, regardless of the value of the AllowSort and AllowColumnSort properties.
The AllowSort and AllowColumnSort properties only affect end-user interaction and do not prevent columns from being sorted programmatically.
Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family