Xceed DataGrid for Silverlight Documentation
AllowColumnSort Property


Gets or sets a value indicating whether the data items in a grid can be sorted through end-user interaction.
Syntax
'Declaration
 
Public Property AllowColumnSort As Nullable(Of Boolean)
'Usage
 
Dim instance As ColumnManagerRow
Dim value As Nullable(Of Boolean)
 
instance.AllowColumnSort = value
 
value = instance.AllowColumnSort
public Nullable<bool> AllowColumnSort {get; set;}

Property Value

true if columns can be sorted by the end user; false otherwise. By default, true. If a null reference (Nothing in Visual Basic), the value will be inherited from the parent grid's AllowSort property.
Remarks

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.

Requirements

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

See Also

Reference

ColumnManagerRow Class
ColumnManagerRow Members
AllowSort Property

Send Feedback