WindowPane Class

 

Represents a Visual Studio window pane.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)


[ContentPropertyAttribute("Content")]
[ComVisibleAttribute(true)]
public abstract class WindowPane : IOleCommandTarget, IServiceProvider, 
	IVsWindowPane, IVsUIElementPane, IDisposable

NameDescription
System_CAPS_protmethodWindowPane()

Initializes a new instance of WindowPane with a null parent service provider

System_CAPS_protmethodWindowPane(IServiceProvider)

Initializes a new instance of WindowPane with the specified service provider.

NameDescription
System_CAPS_pubpropertyContent

Gets or sets the content of this tool window.

System_CAPS_protpropertyInitializationMode

Gets the initialization mode that is associated with this window pane.

System_CAPS_pubpropertyWindow

Gets the window associated with this window pane.

NameDescription
System_CAPS_pubmethodDispose()

Disposes the window pane and its resources.

System_CAPS_protmethodDispose(Boolean)

Disposes the resources of the window pane.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_protmethodGetService(Type)

Gets the service of the specified type.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodInitialize()

Initializes services after the window pane has been sited.

System_CAPS_pubmethodLoadUIState(Stream)

Override to load the previously saved state of the pane.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodOnClose()

Raised when the window is closed.

System_CAPS_protmethodOnCreate()

Raised when the window pane is created.

System_CAPS_protmethodPreProcessMessage(Message)

Preprocesses the messages from navigation keys.

System_CAPS_pubmethodSaveUIState(Stream)

Override to save custom state information to be used later when the pane is reconstructed.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIOleCommandTarget.Exec(Guid, UInt32, UInt32, IntPtr, IntPtr)

Executes the specified command.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIOleCommandTarget.QueryStatus(Guid, UInt32, OLECMD[], IntPtr)

Gets the status of the commands.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIElementPane.CloseUIElementPane()

Closes the pane.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIElementPane.CreateUIElementPane(Object)

Creates the pane.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIElementPane.GetDefaultUIElementSize(SIZE[])

When implemented in a derived class, gets the default size of the pane.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIElementPane.LoadUIElementState(IStream)

When implemented in a derived class, loads custom state storage.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIElementPane.SaveUIElementState(IStream)

Stores the state of the pane to the specified stream.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIElementPane.SetUIElementSite(IServiceProvider)

Sets the site for this window pane.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsUIElementPane.TranslateUIElementAccelerator(MSG[])

Handles keyboard accelerators before the shell processes the message.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsWindowPane.ClosePane()

Obsolete.Closes the window pane. Obsolete.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsWindowPane.CreatePaneWindow(IntPtr, Int32, Int32, Int32, Int32, IntPtr)

Obsolete.Creates a window pane. Obsolete.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsWindowPane.GetDefaultSize(SIZE[])

Obsolete.Gets the default size of the window pane. Obsolete.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsWindowPane.LoadViewState(IStream)

Obsolete.Loads the saved view state. Obsolete.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsWindowPane.SaveViewState(IStream)

Obsolete.Saves the loaded view state. Obsolete.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsWindowPane.SetSite(IServiceProvider)

Obsolete.Initializes this window pane with the specified service provider. Obsolete.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIVsWindowPane.TranslateAccelerator(MSG[])

Obsolete.Handles the translation of navigation keys. Obsolete

System_CAPS_pubinterfaceSystem_CAPS_privmethodIServiceProvider.GetService(Type)

Gets the service of the specified type.

This class implements IVsUIElementPane, which allows you use WPF elements as windows. This class also implements IOleCommandTarget, maps it to IMenuCommandService and IObjectWithSite, and maps the site to services that can be queried through its protected GetService method.

This class also implements IVsWindowPane, but the methods are now obsolete.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: