Compartir a través de


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

'Declaration
<GuidAttribute("74946837-37A0-11D2-A273-00C04F8EF4FF")> _
<InterfaceTypeAttribute()> _
Public Interface IVSMDPropertyGrid
[GuidAttribute("74946837-37A0-11D2-A273-00C04F8EF4FF")]
[InterfaceTypeAttribute()]
public interface IVSMDPropertyGrid
[GuidAttribute(L"74946837-37A0-11D2-A273-00C04F8EF4FF")]
[InterfaceTypeAttribute()]
public interface class IVSMDPropertyGrid
[<GuidAttribute("74946837-37A0-11D2-A273-00C04F8EF4FF")>]
[<InterfaceTypeAttribute()>]
type IVSMDPropertyGrid =  interface end
public interface IVSMDPropertyGrid

The IVSMDPropertyGrid type exposes the following members.

Properties

  Name Description
Public property CommandsVisible Gets the current visible state of the commands window.
Public property GridSort Gets or sets the sort order of the properties window
Public property Handle Gets the top-level HWND for the grid window.
Public property SelectedPropertyName Gets the name of the currently-selected property.

Top

Methods

  Name Description
Public method Dispose Destroys the properties window.
Public method GetOption Gets the value of the given option.
Public method Refresh Refreshes the property grid.
Public method SetOption Sets the specified option.
Public method 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.

See Also

Reference

Microsoft.VisualStudio.Designer.Interfaces Namespace