Skip to content

Sorted Property

Description

Returns or sets a value that determines whether the root level nodes of a TreeView control are sorted alphabetically.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property Sorted() As Boolean

Remarks

The Sorted property sorts the nodes at the root (top) level of a TreeView control.

If True, the nodes are sorted alphabetically by their Text property. Nodes whose Text property begins with a number are sorted as strings, with the first digit determining the initial position in the sort, and subsequent digits determining sub-sorting.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.