PropertySort Enumeration

 

Specifies how properties are sorted in the PropertyGrid.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

[ComVisibleAttribute(true)]
public enum PropertySort

Member nameDescription
Alphabetical

Properties are sorted in an alphabetical list.

Categorized

Properties are displayed according to their category in a group. The categories are defined by the properties themselves.

CategorizedAlphabetical

Properties are displayed according to their category in a group. The properties are further sorted alphabetically within the group. The categories are defined by the properties themselves.

NoSort

Properties are displayed in the order in which they are retrieved from the TypeDescriptor.

Use the members of this enumeration to set the value of the PropertySort property of the PropertyGrid.

.NET Framework
Available since 1.1
Return to top
Show: