共用方式為


IVsUIElementPane Interface

Implemented by packages that support creating document windows or tool windows.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("D5083078-66C7-4047-B101-62A5F7997EC5")> _
Public Interface IVsUIElementPane
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("D5083078-66C7-4047-B101-62A5F7997EC5")]
public interface IVsUIElementPane
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"D5083078-66C7-4047-B101-62A5F7997EC5")]
public interface class IVsUIElementPane
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("D5083078-66C7-4047-B101-62A5F7997EC5")>]
type IVsUIElementPane =  interface end
public interface IVsUIElementPane

The IVsUIElementPane type exposes the following members.

Methods

  Name Description
Public method CloseUIElementPane Closes the pane.
Public method CreateUIElementPane Creates the pane.
Public method GetDefaultUIElementSize Gets the default element size.
Public method LoadUIElementState Loads custom state storage.
Public method SaveUIElementState Stores the state of the pane.
Public method SetUIElementSite Sites this pane.
Public method TranslateUIElementAccelerator Allows the pane to translate keyboard accelerators (hotkeys) before the shell processes the message.

Top

Remarks

This interface can be retrieved from the view object that fills the client area of a IVsWindowFrame.

This interface is similar to IVsWindowPane except that it now supports views implemented in the Windows Presentation Foundation (WPF) as well as Win32.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace