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)

[GuidAttribute("74946837-37A0-11D2-A273-00C04F8EF4FF")]
[InterfaceTypeAttribute(1)]
public interface IVSMDPropertyGrid

NameDescription
System_CAPS_pubpropertyCommandsVisible

Gets the current visible state of the commands window.

System_CAPS_pubpropertyGridSort

Gets or sets the sort order of the properties window

System_CAPS_pubpropertyHandle

Gets the top-level HWND for the grid window.

System_CAPS_pubpropertySelectedPropertyName

Gets the name of the currently-selected property.

NameDescription
System_CAPS_pubmethodDispose()

Destroys the properties window.

System_CAPS_pubmethodGetOption(_PROPERTYGRIDOPTION)

Gets the value of the given option.

System_CAPS_pubmethodRefresh()

Refreshes the property grid.

System_CAPS_pubmethodSetOption(_PROPERTYGRIDOPTION, Object)

Sets the specified option.

System_CAPS_pubmethodSetSelectedObjects(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.

Return to top
Show: