Partager via


DesignerWindowPane Class

Definition

Important

This API is not CLS-compliant.

This class inherits from WindowPane and extends it to provide designer features.

public ref class DesignerWindowPane abstract : Microsoft::VisualStudio::Shell::WindowPane, Microsoft::VisualStudio::Shell::Interop::IVsBatchUpdate, Microsoft::VisualStudio::Shell::Interop::IVsDesignerInfo, Microsoft::VisualStudio::Shell::Interop::IVsExtensibleObject, Microsoft::VisualStudio::Shell::Interop::IVsToolboxUser, Microsoft::VisualStudio::Shell::Interop::IVsWindowFrameNotify
[Windows::Foundation::Metadata::WebHostHidden]
class DesignerWindowPane abstract : Microsoft::VisualStudio::Shell::WindowPane, Microsoft::VisualStudio::Shell::Interop::IVsBatchUpdate, Microsoft::VisualStudio::Shell::Interop::IVsDesignerInfo, Microsoft::VisualStudio::Shell::Interop::IVsExtensibleObject, Microsoft::VisualStudio::Shell::Interop::IVsToolboxUser, Microsoft::VisualStudio::Shell::Interop::IVsWindowFrameNotify
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.ComVisible(true)]
public abstract class DesignerWindowPane : Microsoft.VisualStudio.Shell.WindowPane, Microsoft.VisualStudio.Shell.Interop.IVsBatchUpdate, Microsoft.VisualStudio.Shell.Interop.IVsDesignerInfo, Microsoft.VisualStudio.Shell.Interop.IVsExtensibleObject, Microsoft.VisualStudio.Shell.Interop.IVsToolboxUser, Microsoft.VisualStudio.Shell.Interop.IVsWindowFrameNotify
[System.Runtime.InteropServices.ComVisible(true)]
public abstract class DesignerWindowPane : Microsoft.VisualStudio.Shell.WindowPane, Microsoft.VisualStudio.Shell.Interop.IVsBatchUpdate, Microsoft.VisualStudio.Shell.Interop.IVsDesignerInfo, Microsoft.VisualStudio.Shell.Interop.IVsExtensibleObject, Microsoft.VisualStudio.Shell.Interop.IVsToolboxUser, Microsoft.VisualStudio.Shell.Interop.IVsWindowFrameNotify
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type DesignerWindowPane = class
    inherit WindowPane
    interface IVsDesignerInfo
    interface IVsToolboxUser
    interface IVsBatchUpdate
    interface IVsExtensibleObject
    interface IVsWindowFrameNotify
[<System.Runtime.InteropServices.ComVisible(true)>]
type DesignerWindowPane = class
    inherit WindowPane
    interface IVsDesignerInfo
    interface IVsToolboxUser
    interface IVsBatchUpdate
    interface IVsExtensibleObject
    interface IVsWindowFrameNotify
Public MustInherit Class DesignerWindowPane
Inherits WindowPane
Implements IVsBatchUpdate, IVsDesignerInfo, IVsExtensibleObject, IVsToolboxUser, IVsWindowFrameNotify
Inheritance
DesignerWindowPane
Attributes
Implements

Constructors

DesignerWindowPane(DesignSurface)

Initializes a new instance of the DesignerWindowPane class.

Properties

CommandGuid

Gets the command UI GUID associated with this window pane.

Content

Gets or sets the content of this tool window.

(Inherited from WindowPane)
EditorView

Gets the editor view for this window pane.

InitializationMode

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

(Inherited from WindowPane)
ParentHandle (Inherited from WindowPane)
Surface

Gets the design surface.

Window

Gets the window associated with this window pane.

(Inherited from WindowPane)

Methods

AddDefaultServices()

Adds the default services the window pane provides.

Dispose()

Disposes the window pane and its resources.

(Inherited from WindowPane)
Dispose(Boolean)

Disposes the design surface.

GetAutomationObject(String)

Gets the automation object for this window pane.

GetService(Type)

Gets the service of the specified type.

GetToolboxItemSupported(IDataObject)

Determines whether or not the given data object is supported by the designer.

Initialize()

Initializes services after the window pane has been sited.

(Inherited from WindowPane)
LoadUIState(Stream)

Override to load previously saved state of the pane

(Inherited from WindowPane)
OnClose()

Called in response to the ClosePane() method on the IVsWindowPane interface.

OnCreate()

Raised when the window pane is created.

(Inherited from WindowPane)
OnFlush()

This method is called when Visual Studio wants the window pane to flush its state to the underlying buffer.

OnToolboxItemPicked(IDataObject)

Called when the user double clicks or presses enter on a toolbox item on the Visual Studio toolbox.

PreProcessMessage(Message)

Preprocesses the messages from navigation keys.

(Inherited from WindowPane)
SaveUIState(Stream)

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

(Inherited from WindowPane)

Explicit Interface Implementations

IOleCommandTarget.Exec(Guid, UInt32, UInt32, IntPtr, IntPtr)

Executes the specified command.

(Inherited from WindowPane)
IOleCommandTarget.QueryStatus(Guid, UInt32, OLECMD[], IntPtr)

Gets the status of the commands.

(Inherited from WindowPane)
IServiceProvider.GetService(Type)

Gets the service of the specified type.

(Inherited from WindowPane)
IVsBatchUpdate.FlushPendingUpdates(UInt32)

Called when Visual Studio wants the window pane to flush its state to the underlying buffer.

IVsDesignerInfo.get_DesignerTechnology(String)

Returns the Windows form.

IVsExtensibleObject.GetAutomationObject(String, Object)

Gets the automation object for this window pane.

IVsToolboxUser.IsSupported(IDataObject)

Determines whether the Toolbox user supports the referenced data object.

IVsToolboxUser.ItemPicked(IDataObject)

Sends notification that an item in the Toolbox is selected through a click, or by pressing ENTER.

IVsUIElementPane.CloseUIElementPane()

Closes the pane.

(Inherited from WindowPane)
IVsUIElementPane.CreateUIElementPane(Object)

Creates the pane.

(Inherited from WindowPane)
IVsUIElementPane.GetDefaultUIElementSize(SIZE[])

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

(Inherited from WindowPane)
IVsUIElementPane.LoadUIElementState(IStream)

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

(Inherited from WindowPane)
IVsUIElementPane.SaveUIElementState(IStream)

Stores the state of the pane to the specified stream.

(Inherited from WindowPane)
IVsUIElementPane.SetUIElementSite(IServiceProvider)

Sets the site for this window pane.

(Inherited from WindowPane)
IVsUIElementPane.TranslateUIElementAccelerator(MSG[])

Handles keyboard accelerators before the shell processes the message.

(Inherited from WindowPane)
IVsWindowFrameNotify.OnDockableChange(Int32)

Notifies the Package that a window's docked state is being altered.

IVsWindowFrameNotify.OnMove()

Notifies the Package that a window is being moved.

IVsWindowFrameNotify.OnShow(Int32)

Notifies the Package of a change in the window's display state.

IVsWindowFrameNotify.OnSize()

Notifies the Package that a window is being resized.

IVsWindowPane.ClosePane()
Obsolete.

Closes the window pane. Obsolete.

(Inherited from WindowPane)
IVsWindowPane.CreatePaneWindow(IntPtr, Int32, Int32, Int32, Int32, IntPtr)
Obsolete.

Creates a window pane. Obsolete.

(Inherited from WindowPane)
IVsWindowPane.GetDefaultSize(SIZE[])
Obsolete.

Gets the default size of the window pane. Obsolete.

(Inherited from WindowPane)
IVsWindowPane.LoadViewState(IStream)
Obsolete.

Loads the saved view state. Obsolete.

(Inherited from WindowPane)
IVsWindowPane.SaveViewState(IStream)
Obsolete.

Saves the loaded view state. Obsolete.

(Inherited from WindowPane)
IVsWindowPane.SetSite(IServiceProvider)
Obsolete.

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

(Inherited from WindowPane)
IVsWindowPane.TranslateAccelerator(MSG[])
Obsolete.

Handles the translation of navigation keys. Obsolete

(Inherited from WindowPane)

Applies to