IVSMDPropertyGrid Interface
Defines a small property browser that can be hosted in dialog boxes or other windows.
Namespace: Microsoft.VisualStudio.Designer.Interfaces
Assembly: Microsoft.VisualStudio.Designer.Interfaces (in Microsoft.VisualStudio.Designer.Interfaces.dll)
Syntax
'Декларация
<GuidAttribute("74946837-37A0-11D2-A273-00C04F8EF4FF")> _
<InterfaceTypeAttribute()> _
Public Interface IVSMDPropertyGrid
[GuidAttribute("74946837-37A0-11D2-A273-00C04F8EF4FF")]
[InterfaceTypeAttribute()]
public interface IVSMDPropertyGrid
The IVSMDPropertyGrid type exposes the following members.
Properties
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. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Dispose | Destroys the properties window. |
![]() |
GetOption | Gets the value of the given option. |
![]() |
Refresh | Refreshes the property grid. |
![]() |
SetOption | Sets the specified option. |
![]() |
SetSelectedObjects | Sets objects for the grid to browse. |
Top
Remarks
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.