PropertySort Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies how properties are sorted in the PropertyGrid.
This enumeration supports a bitwise combination of its member values.
public enum class PropertySort
[System.Runtime.InteropServices.ComVisible(true)]
public enum PropertySort
public enum PropertySort
[System.Flags]
public enum PropertySort
[<System.Runtime.InteropServices.ComVisible(true)>]
type PropertySort =
type PropertySort =
[<System.Flags>]
type PropertySort =
Public Enum PropertySort
- Inheritance
- Attributes
Fields
Name | Value | Description |
---|---|---|
NoSort | 0 | Properties are displayed in the order in which they are retrieved from the TypeDescriptor. |
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. |
Remarks
Use the members of this enumeration to set the value of the PropertySort property of the PropertyGrid.