Export (0) Print
Expand All

TreeView.Sorted Property

Gets or sets a value indicating whether the tree nodes in the tree view are sorted.

[Visual Basic]
Public Property Sorted As Boolean
[C#]
public bool Sorted {get; set;}
[C++]
public: __property bool get_Sorted();
public: __property void set_Sorted(bool);
[JScript]
public function get Sorted() : Boolean;
public function set Sorted(Boolean);

Property Value

true if the tree nodes in the tree view are sorted; otherwise, false. The default is false.

Remarks

When Sorted is set to true, the TreeNode objects are sorted in alphabetical order.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

TreeView Class | TreeView Members | System.Windows.Forms Namespace

Show:
© 2014 Microsoft