共用方式為


DesignerWindowPane Class

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

This API is not CLS-compliant. 

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.Shell.WindowPane
    Microsoft.VisualStudio.Shell.Design.DesignerWindowPane

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

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
<ComVisibleAttribute(True)> _
Public MustInherit Class DesignerWindowPane _
    Inherits WindowPane _
    Implements IVsDesignerInfo, IVsToolboxUser, IVsBatchUpdate, IVsExtensibleObject,  _
    IVsWindowFrameNotify
[CLSCompliantAttribute(false)]
[ComVisibleAttribute(true)]
public abstract class DesignerWindowPane : WindowPane, 
    IVsDesignerInfo, IVsToolboxUser, IVsBatchUpdate, IVsExtensibleObject, IVsWindowFrameNotify
[CLSCompliantAttribute(false)]
[ComVisibleAttribute(true)]
public ref class DesignerWindowPane abstract : public WindowPane, 
    IVsDesignerInfo, IVsToolboxUser, IVsBatchUpdate, IVsExtensibleObject, IVsWindowFrameNotify
[<AbstractClass>]
[<CLSCompliantAttribute(false)>]
[<ComVisibleAttribute(true)>]
type DesignerWindowPane =  
    class 
        inherit WindowPane 
        interface IVsDesignerInfo 
        interface IVsToolboxUser 
        interface IVsBatchUpdate 
        interface IVsExtensibleObject 
        interface IVsWindowFrameNotify 
    end
public abstract class DesignerWindowPane extends WindowPane implements IVsDesignerInfo, IVsToolboxUser, IVsBatchUpdate, IVsExtensibleObject, IVsWindowFrameNotify

The DesignerWindowPane type exposes the following members.

Constructors

  Name Description
Public method DesignerWindowPane Initializes a new instance of the DesignerWindowPane class.

Top

Properties

  Name Description
Public property CommandGuid Gets the command UI GUID associated with this window pane.
Public property Content Gets or sets the content of this tool window. (Inherited from WindowPane.)
Public property EditorView Gets the editor view for this window pane.
Protected property InitializationMode Gets the initialization mode that is associated with this window pane. (Inherited from WindowPane.)
Protected property Surface Gets the design surface.
Public property Window Gets the window associated with this window pane. (Inherited from WindowPane.)

Top

Methods

  Name Description
Protected method AddDefaultServices Adds the default services the window pane provides.
Public method Dispose() Disposes the window pane and its resources. (Inherited from WindowPane.)
Protected method Dispose(Boolean) Disposes the design surface. (Overrides WindowPane.Dispose(Boolean).)
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.)
Protected method GetAutomationObject Gets the automation object for this window pane.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Protected method GetService Gets the service of the specified type. (Overrides WindowPane.GetService(Type).)
Protected method GetToolboxItemSupported Determines whether or not the given data object is supported by the designer.
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. (Inherited from WindowPane.)
Public method LoadUIState Override to load the previously saved state of the pane. (Inherited from WindowPane.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnClose Called in response to the ClosePane method on the IVsWindowPane interface. (Overrides WindowPane.OnClose().)
Protected method OnCreate Raised when the window pane is created. (Inherited from WindowPane.)
Protected method OnFlush This method is called when Visual Studio wants the window pane to flush its state to the underlying buffer.
Protected method OnToolboxItemPicked Called when the user double clicks or presses enter on a toolbox item on the Visual Studio toolbox.
Protected method PreProcessMessage Preprocesses the messages from navigation keys. (Inherited from WindowPane.)
Public method SaveUIState Override to save custom state information to be used later when the pane is reconstructed. (Inherited from WindowPane.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IServiceProvider.GetService Gets the service of the specified type. (Inherited from WindowPane.)
Explicit interface implemetationPrivate method IOleCommandTarget.Exec Executes the specified command. (Inherited from WindowPane.)
Explicit interface implemetationPrivate method IOleCommandTarget.QueryStatus Gets the status of the commands. (Inherited from WindowPane.)
Explicit interface implemetationPrivate method IVsBatchUpdate.FlushPendingUpdates Called when Visual Studio wants the window pane to flush its state to the underlying buffer.
Explicit interface implemetationPrivate method IVsDesignerInfo.get_DesignerTechnology Returns the Windows form.
Explicit interface implemetationPrivate method IVsExtensibleObject.GetAutomationObject Gets the automation object for this window pane.
Explicit interface implemetationPrivate method IVsToolboxUser.IsSupported Determines whether the Toolbox user supports the referenced data object.
Explicit interface implemetationPrivate method IVsToolboxUser.ItemPicked Sends notification that an item in the Toolbox is selected through a click, or by pressing ENTER.
Explicit interface implemetationPrivate method IVsUIElementPane.CloseUIElementPane Closes the pane. (Inherited from WindowPane.)
Explicit interface implemetationPrivate method IVsUIElementPane.CreateUIElementPane Creates the pane. (Inherited from WindowPane.)
Explicit interface implemetationPrivate method IVsUIElementPane.GetDefaultUIElementSize When implemented in a derived class, gets the default size of the pane. (Inherited from WindowPane.)
Explicit interface implemetationPrivate method IVsUIElementPane.LoadUIElementState When implemented in a derived class, loads custom state storage. (Inherited from WindowPane.)
Explicit interface implemetationPrivate method IVsUIElementPane.SaveUIElementState Stores the state of the pane to the specified stream. (Inherited from WindowPane.)
Explicit interface implemetationPrivate method IVsUIElementPane.SetUIElementSite Sets the site for this window pane. (Inherited from WindowPane.)
Explicit interface implemetationPrivate method IVsUIElementPane.TranslateUIElementAccelerator Handles keyboard accelerators before the shell processes the message. (Inherited from WindowPane.)
Explicit interface implemetationPrivate method IVsWindowFrameNotify.OnDockableChange Notifies the Package that a window's docked state is being altered.
Explicit interface implemetationPrivate method IVsWindowFrameNotify.OnMove Notifies the Package that a window is being moved.
Explicit interface implemetationPrivate method IVsWindowFrameNotify.OnShow Notifies the Package of a change in the window's display state.
Explicit interface implemetationPrivate method IVsWindowFrameNotify.OnSize Notifies the Package that a window is being resized.
Explicit interface implemetationPrivate method IVsWindowPane.ClosePane Obsolete. Closes the window pane. Obsolete. (Inherited from WindowPane.)
Explicit interface implemetationPrivate method IVsWindowPane.CreatePaneWindow Obsolete. Creates a window pane. Obsolete. (Inherited from WindowPane.)
Explicit interface implemetationPrivate method IVsWindowPane.GetDefaultSize Obsolete. Gets the default size of the window pane. Obsolete. (Inherited from WindowPane.)
Explicit interface implemetationPrivate method IVsWindowPane.LoadViewState Obsolete. Loads the saved view state. Obsolete. (Inherited from WindowPane.)
Explicit interface implemetationPrivate method IVsWindowPane.SaveViewState Obsolete. Saves the loaded view state. Obsolete. (Inherited from WindowPane.)
Explicit interface implemetationPrivate method IVsWindowPane.SetSite Obsolete. Initializes this window pane with the specified service provider. Obsolete. (Inherited from WindowPane.)
Explicit interface implemetationPrivate method IVsWindowPane.TranslateAccelerator Obsolete. Handles the translation of navigation keys. Obsolete (Inherited from WindowPane.)

Top

Thread Safety

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

See Also

Reference

Microsoft.VisualStudio.Shell.Design Namespace

WindowPane