FlexGrid for WinForms
AllowSorting Property (C1FlexGridBase)



Gets or sets whether the user is allowed to sort columns using the mouse.
Syntax
'Declaration
 
<C1DescriptionAttribute("Gets or sets whether the user is allowed to sort columns using the mouse.")>
<DefaultValueAttribute()>
<C1CategoryAttribute("Behavior")>
Public Property AllowSorting As AllowSortingEnum
'Usage
 
Dim instance As C1FlexGridBase
Dim value As AllowSortingEnum
 
instance.AllowSorting = value
 
value = instance.AllowSorting
[C1Description("Gets or sets whether the user is allowed to sort columns using the mouse.")]
[DefaultValue()]
[C1Category("Behavior")]
public AllowSortingEnum AllowSorting {get; set;}
[C1Description("Gets or sets whether the user is allowed to sort columns using the mouse.")]
[DefaultValue()]
[C1Category("Behavior")]
public:
property AllowSortingEnum AllowSorting {
   AllowSortingEnum get();
   void set (    AllowSortingEnum value);
}
Remarks

When the grid is used in bound mode, the sorting is performed by the DataSource object. If the data source object does not support sorting, this property has no effect.

In unbound mode, you can also sort data using the Sort(SortFlags,Int32) method.

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

C1FlexGridBase Class
C1FlexGridBase Members

 

 


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

Send Feedback