IVSMDPropertyGrid Interface
Visual Studio 2015
Defines a small property browser that can be hosted in dialog boxes or other windows.
Assembly: Microsoft.VisualStudio.Designer.Interfaces (in Microsoft.VisualStudio.Designer.Interfaces.dll)
| Name | Description | |
|---|---|---|
![]() | CommandsVisible | Gets the current visible state of the commands window. |
![]() | GridSort | Gets or sets the sort order of the properties window |
![]() | Handle | Gets the top-level HWND for the grid window. |
![]() | SelectedPropertyName | Gets the name of the currently-selected property. |
| Name | Description | |
|---|---|---|
![]() | Dispose() | Destroys the properties window. |
![]() | GetOption(_PROPERTYGRIDOPTION) | Gets the value of the given option. |
![]() | Refresh() | Refreshes the property grid. |
![]() | SetOption(_PROPERTYGRIDOPTION, Object) | Sets the specified option. |
![]() | SetSelectedObjects(Int32, Int32) | Sets objects for the grid to browse. |
To use this property browser grid, just QI for IVsWindowPane to get the window, and hand the window a selection container for it to browse. You are responsible for updating the selection container if you change the contents of the selection without notifying the grid.
Show:

