Partager via


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()
Protected method WindowPane(IServiceProvider) Initializes a new instance of WindowPane with the specified service provider.

Top

Methods

  Name Description
Public method Dispose() Disposes the window pane and its resources.
Protected method Dispose(Boolean) Disposes the resources of the window pane.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object 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.
Public method LoadUIState
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 SaveUIState
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Public property Content
Protected property InitializationMode Gets the initialization mode that is associated with this window pane.
Public property Window Gets the window that is associated with this window pane.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IServiceProvider.GetService Gets the service of the specified type.
Explicit interface implemetationPrivate method IOleCommandTarget.Exec Executes the specified command.
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 IVsBroadcastMessageEvents.OnBroadcastMessage Raised when a message is broadcast to the window.
Explicit interface implemetationPrivate method IVsUIElementPane.CloseUIElementPane
Explicit interface implemetationPrivate method IVsUIElementPane.CreateUIElementPane
Explicit interface implemetationPrivate method IVsUIElementPane.GetDefaultUIElementSize
Explicit interface implemetationPrivate method IVsUIElementPane.LoadUIElementState
Explicit interface implemetationPrivate method IVsUIElementPane.SaveUIElementState
Explicit interface implemetationPrivate method IVsUIElementPane.SetUIElementSite
Explicit interface implemetationPrivate method IVsUIElementPane.TranslateUIElementAccelerator
Explicit interface implemetationPrivate method IVsWindowPane.ClosePane Closes the window pane.
Explicit interface implemetationPrivate method IVsWindowPane.CreatePaneWindow Creates a window pane.
Explicit interface implemetationPrivate method IVsWindowPane.GetDefaultSize Gets the default size of the window pane.
Explicit interface implemetationPrivate method IVsWindowPane.LoadViewState Loads the saved view state.
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