'Declaration Public Enum PropertyGridCommandType Inherits System.Enum
public enum PropertyGridCommandType : System.Enum
Member | Description |
---|---|
AddListEntry | Adds an entry to the list represented by the PropertyGridPropertyItem passed as the commmand parameter. |
ClearFilterText | Clears filter text (if any) entered by the user. |
CollapseSelectedItem | Collapses the currently selected item. If no item is currently selected, then no action is taken. |
CreateExpandableObject | Creates an object instance of the appropriate type and assigns it to the expandable property represented by the PropertyGridPropertyItem passed as the commmand parameter. |
EnterEditMode | Enter edit mode on the currently selected item. If no item is currently selected or the currently selected item is already in edit mode, then no action is taken. |
ExitEditMode | Exit edit mode on the currently selected item. If no item is currently selected or the currently selected item is not in edit mode, then no action is taken. |
ExpandSelectedItem | Expands the currently selected item. If no item is currently selected, then no action is taken. |
MoveToEnd | Moves the selection and display to the last item. |
MoveToHome | Moves the selection and display to the first item. |
RemoveListEntry | Removes the list entry represented by the PropertyGridPropertyItem passed as the commmand parameter. |
ResetPropertyValue | Resets the value of the property represented by the PropertyGridPropertyItem passed as the commmand parameter. This command is enabled if the property has a DefaultValueAttribute which specifies a value that is different than the property's current value, or if the source object that contains the property exposes a ShouldSerialize[propname] method that returns true along with a Reset[propname] method. |
ScrollLineDown | Moves the selection down one item. |
ScrollLineUp | Moves the selection up one item. |
ScrollPageDown | Moves the selection down one page. |
ScrollPageUp | Moves the selection up one page. |
SelectNextItem | Selects the next displayable item (if any). If no item is currently selected, then no action is taken. |
SelectPreviousItem | Selects the previous displayable item (if any). If no item is currently selected, then no action is taken. |
ShowOptionsMenu | Displays the options menu for the property represented by the PropertyGridPropertyItem passed as the commmand parameter. |
SortAlphabetically | Sorts the list of properties by category. |
SortByCategory | Sorts the list of properties alphabetically. |
ToggleFilterAreaFocus | Toggles the focused state of the filter area. |
ToggleSelectedItemExpandedState | Toggles the expanded state of the currently selected item. If no item is currently selected, then no action is taken. |
ToggleSortType | Toggles the sort type between alphabetic and categorized. |
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2