Skip to content

Sorted Property

Description

Gets or sets a value indicating whether the items in the list box are sorted.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property Sorted() As Boolean

Remarks

This property specifies whether the list box sorts existing entries and adds new entries to the appropriate sorted position in the list. You can use this property to automatically sort items in a list box. As items are added to a sorted list box, the items are moved to the appropriate location in the sorted list. When you set the property to false, new items are added to the end of the existing list. The sort is case-insensitive and in alphabetically ascending order.

See Also


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