FlexGrid for WinForms
AllowSorting Property (Column)



Gets or sets whether this column can be sorted by clicking on the column header.
Syntax
'Declaration
 
<C1CategoryAttribute("Behavior")>
<C1DescriptionAttribute("Gets or sets whether this column can be sorted by clicking on the column header.")>
<DefaultValueAttribute()>
Public Property AllowSorting As Boolean
'Usage
 
Dim instance As Column
Dim value As Boolean
 
instance.AllowSorting = value
 
value = instance.AllowSorting
[C1Category("Behavior")]
[C1Description("Gets or sets whether this column can be sorted by clicking on the column header.")]
[DefaultValue()]
public bool AllowSorting {get; set;}
[C1Category("Behavior")]
[C1Description("Gets or sets whether this column can be sorted by clicking on the column header.")]
[DefaultValue()]
public:
property bool AllowSorting {
   bool get();
   void set (    bool value);
}
Remarks
The grid has an AllowSorting property that determines whether columns can be sorted with the mouse. The AllowSorting property of the Column objects can be used to prevent the user from sorting specific columns.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Column Class
Column Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback