Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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
AlphabeticalProperties are sorted in an alphabetical list.
CategorizedProperties are displayed according to their category in a group. The categories are defined by the properties themselves.
CategorizedAlphabeticalProperties 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.
NoSortProperties 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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft