PropertySort Enum

Definition

Specifies how properties are sorted in the PropertyGrid.

public enum class PropertySort
[System.Runtime.InteropServices.ComVisible(true)]
public enum PropertySort
type PropertySort = 
Public Enum PropertySort
Inheritance
PropertySort
Attributes

Fields

Alphabetical 1

Properties are sorted in an alphabetical list.

Categorized 2

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

CategorizedAlphabetical 3

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 0

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

Remarks

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

Applies to