Skip to content

SortKey Property

Description

Returns or sets a value that determines how the ListViewItem objects in a ListView control are sorted.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property SortKey() As Long

Remarks

The Sorted property must be set to True before the change takes place. It is common to sort a list when the column header is clicked. Therefore, the SortKey property is commonly included in the ColumnClick event to sort the list using the clicked column.

See Also


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