DesignerWindowPane Class
This class inherits from WindowPane and extends it to provide designer features.
This API is not CLS-compliant.
Inheritance Hierarchy
System.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
'宣告
<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
The DesignerWindowPane type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DesignerWindowPane | Initializes a new instance of the DesignerWindowPane class. |
Top
Properties
Name | Description | |
---|---|---|
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.) | |
Surface | Gets the design surface. | |
Window | Gets the window associated with this window pane. (Inherited from WindowPane.) |
Top
Methods
Name | Description | |
---|---|---|
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. (Overrides WindowPane.Dispose(Boolean).) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetAutomationObject | Gets the automation object for this window pane. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetService | Gets the service of the specified type. (Overrides WindowPane.GetService(Type).) | |
GetToolboxItemSupported | Determines whether or not the given data object is supported by the designer. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Initialize | Initializes services after the window pane has been sited. (Inherited from WindowPane.) | |
LoadUIState | Override to load the previously saved state of the pane. (Inherited from WindowPane.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnClose | Called in response to the ClosePane method on the IVsWindowPane interface. (Overrides WindowPane.OnClose().) | |
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 | Called when the user double clicks or presses enter on a toolbox item on the Visual Studio toolbox. | |
PreProcessMessage | Preprocesses the messages from navigation keys. (Inherited from WindowPane.) | |
SaveUIState | Override to save custom state information to be used later when the pane is reconstructed. (Inherited from WindowPane.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IServiceProvider.GetService | Gets the service of the specified type. (Inherited from WindowPane.) | |
IOleCommandTarget.Exec | Executes the specified command. (Inherited from WindowPane.) | |
IOleCommandTarget.QueryStatus | Gets the status of the commands. (Inherited from WindowPane.) | |
IVsBatchUpdate.FlushPendingUpdates | Called when Visual Studio wants the window pane to flush its state to the underlying buffer. | |
IVsDesignerInfo.get_DesignerTechnology | ||
IVsExtensibleObject.GetAutomationObject | Gets the automation object for this window pane. | |
IVsToolboxUser.IsSupported | Determines whether the Toolbox user supports the referenced data object. | |
IVsToolboxUser.ItemPicked | 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 | Creates the pane. (Inherited from WindowPane.) | |
IVsUIElementPane.GetDefaultUIElementSize | When implemented in a derived class, gets the default size of the pane. (Inherited from WindowPane.) | |
IVsUIElementPane.LoadUIElementState | When implemented in a derived class, loads custom state storage. (Inherited from WindowPane.) | |
IVsUIElementPane.SaveUIElementState | Stores the state of the pane to the specified stream. (Inherited from WindowPane.) | |
IVsUIElementPane.SetUIElementSite | Sets the site for this window pane. (Inherited from WindowPane.) | |
IVsUIElementPane.TranslateUIElementAccelerator | Handles keyboard accelerators before the shell processes the message. (Inherited from WindowPane.) | |
IVsWindowFrameNotify.OnDockableChange | 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 | 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 | Obsolete. Creates a window pane. Obsolete. (Inherited from WindowPane.) | |
IVsWindowPane.GetDefaultSize | Obsolete. Gets the default size of the window pane. Obsolete. (Inherited from WindowPane.) | |
IVsWindowPane.LoadViewState | Obsolete. Loads the saved view state. Obsolete. (Inherited from WindowPane.) | |
IVsWindowPane.SaveViewState | Obsolete. Saves the loaded view state. Obsolete. (Inherited from WindowPane.) | |
IVsWindowPane.SetSite | Obsolete. Initializes this window pane with the specified service provider. Obsolete. (Inherited from WindowPane.) | |
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.