Flexible TreeView 5.1.9 Help
Sortable Property (TreeColumn)



Gets or sets a value indicating whether the column can change sort order and participate in the treeview sorting process.
Syntax
'Declaration
 
<DescriptionAttribute("Gets or sets a value indicating whether the column can change sort order and participate in the treeview sorting process.")>
<CategoryAttribute("Behavior")>
<DefaultValueAttribute()>
Public Property Sortable As Boolean
'Usage
 
Dim instance As TreeColumn
Dim value As Boolean
 
instance.Sortable = value
 
value = instance.Sortable
[Description("Gets or sets a value indicating whether the column can change sort order and participate in the treeview sorting process.")]
[Category("Behavior")]
[DefaultValue()]
public bool Sortable {get; set;}
[Description("Gets or sets a value indicating whether the column can change sort order and participate in the treeview sorting process.")]
[Category("Behavior")]
[DefaultValue()]
public:
property bool Sortable {
   bool get();
   void set (    bool value);
}

Property Value

true if the column can sort the content; otherwise, false. The default value is true.
Remarks
Note that when this property is disabled, column sort order will be adjusted to System.Windows.Forms.SortOrder.None value. So to be able to disable column sorting, the ThreeStateSortOrder property should be enabled.
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

TreeColumn Class
TreeColumn Members

Send Feedback