Xceed.Silverlight.DataGrid.v2.0 Assembly > Xceed.Silverlight.DataGrid Namespace > Column Class : AllowSort Property |
'Declaration Public Property AllowSort As Nullable(Of Boolean)
'Usage Dim instance As Column Dim value As Nullable(Of Boolean) instance.AllowSort = value value = instance.AllowSort
public Nullable<bool> AllowSort {get; set;}
true if the data items in a grid can be sorted according to the values of the column through end-user interaction; false otherwise. By default, a null reference (Nothing in Visual Basic) indicating that the value is inherited from the column-manager row's AllowColumnSort property or grid's AllowSort property.
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