System.Windows.Forms.PropertySort Enumeration

Specifies how properties are sorted in the System.Windows.Forms.PropertyGrid.

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public enum PropertySort

Remarks

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

Members

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 System.ComponentModel.TypeDescriptor.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0