WindowPane Members

Include Protected Members
Include Inherited Members

A default implementation of a tool window pane. This class implements IVsWindowPane, but the implementer must provide an implementation of an object that returns an IWin32Window. 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.

The WindowPane type exposes the following members.

Constructors

 

Name

Description

Protected method

WindowPane

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

Top

Methods

 

Name

Description

Public method

Dispose

Overloaded. Disposes the window pane and its resources.

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Protected method

GetService

Gets the service of the specified type.

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

Initialize

Initializes services after the window pane has been sited.

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Protected method

OnClose

Raised when the window is closed.

Protected method

OnCreate

Raised when the window pane is created.

Protected method

PreProcessMessage

Preprocesses the messages from navigation keys.

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Public property

Window

Gets the window that is associated with this window pane.

Top

Explicit Interface Implementations

 

Name

Description

Explicit interface implemetationPrivate method

IVsWindowPane.ClosePane

Closes the window pane.

Explicit interface implemetationPrivate method

IVsWindowPane.CreatePaneWindow

Creates a window pane.

Explicit interface implemetationPrivate method

IOleCommandTarget.Exec

Executes the specified command.

Explicit interface implemetationPrivate method

IVsWindowPane.GetDefaultSize

Gets the default size of the window pane.

Explicit interface implemetationPrivate method

IServiceProvider.GetService

Gets the service of the specified type.

Explicit interface implemetationPrivate method

IVsWindowPane.LoadViewState

Loads the saved view state.

Explicit interface implemetationPrivate method

IVsBroadcastMessageEvents.OnBroadcastMessage

Raised when a message is broadcast to the window.

Explicit interface implemetationPrivate method

IOleCommandTarget.QueryStatus

Queries the object for the status of one or more commands that are generated by user interface events.

Explicit interface implemetationPrivate method

IVsWindowPane.SaveViewState

Saves the loaded view state.

Explicit interface implemetationPrivate method

IVsWindowPane.SetSite

Initializes this window pane with the specified service provider.

Explicit interface implemetationPrivate method

IVsWindowPane.TranslateAccelerator

Handles the translation of navigation keys.

Top

See Also

Reference

WindowPane Class

Microsoft.VisualStudio.Shell Namespace