ToolWindow Members
Include Protected Members
Include Inherited Members
When overridden by a derived class, represents a tool window in the generated designer for a domain-specific language.
The ToolWindow type exposes the following members.
Constructors
Name
Description
Initializes a new instance of the ToolWindow class.
Top
Methods
Name
Description
When implemented in a derived class, specifies whether pending edits should be committed before a command is executed. (Inherited from ModelingWindowPane.)
Gets the number of elements in the window pane. (Inherited from ModelingWindowPane.)
Counts the number of elements in the window pane or in the current selection. (Inherited from ModelingWindowPane.)
Gets the number of elements in the current selection. (Inherited from ModelingWindowPane.)
Overloaded.
When implemented in a derived class, selects elements in the window pane. (Inherited from ModelingWindowPane.)
Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Gets all elements in the window pane. (Inherited from ModelingWindowPane.)
Specifies whether the given component is selected. (Inherited from ModelingWindowPane.)
Specifies whether the given container is selected. (Inherited from ModelingWindowPane.)
Serves as a hash function for a particular type. (Inherited from Object.)
Gets either the elements that are currently selected or the elements that can be selected in the window pane. (Inherited from ModelingWindowPane.)
Gets the components that are selected in the window pane. (Inherited from ModelingWindowPane.)
Gets the elements that are selected in the window pane. (Inherited from ModelingWindowPane.)
Gets the service of the specified type. Override this method to return the custom menu command service (Inherited from ModelingWindowPane.)
Gets the site that was set with SetSite. (Inherited from ModelingWindowPane.)
Gets the type of the current instance. (Inherited from Object.)
Hides the window pane. (Inherited from ModelingWindowPane.)
Initializes a new instance of the ToolWindow class. (Overrides WindowPane.Initialize().)
Creates a shallow copy of the current Object. (Inherited from Object.)
Removes window pane objects from the shortcut menu selection when the window pane is closed. (Inherited from ModelingWindowPane.)
Creates a tool window. (Overrides WindowPane.OnCreate().)
Notifies derived classes if a user makes a change in the document window.
Notifies event listeners after the selection changes. (Inherited from ModelingWindowPane.)
Notifies event listeners before the selection changes. (Inherited from ModelingWindowPane.)
Listens for frame changes in a document window
Handles window messages. (Inherited from ModelingWindowPane.)
Selects elements in the window pane. (Inherited from ModelingWindowPane.)
Overloaded. Puts the selected components into the selection container and replaces the currently-selected components, and notifies the shell of the change.
Initializes the window pane in the environment. (Inherited from ModelingWindowPane.)
Displays the window pane, brings it to the front, and makes it the active window. (Inherited from ModelingWindowPane.)
Displays the window pane, brings it to the front, but does not make it the active window. (Inherited from ModelingWindowPane.)
Returns a string that represents the current object. (Inherited from Object.)
Top
Properties
Name
Description
Gets and sets the active window for in-place editing. (Inherited from ModelingWindowPane.)
When overriden in a derived class, gets the index of the bitmap that appears next to the name of the tool window.
When overriden in a derived class, gets the resource ID of the bitmap that appears next to the name of the tool window.
Gets a document in memory.
Gets the tool window and enables the Undo command.
Gets the IVsWindowFrame that corresponds to this window.. (Inherited from ModelingWindowPane.)
Gets the tool window disables the Select Objects command if a document is not loaded. (Overrides ModelingWindowPane.HasSelectableObjects.)
Gets the tool window and verifies whether it should have a toolbar.
Gets the help service. (Inherited from ModelingWindowPane.)
Gets the menu command service. (Inherited from ModelingWindowPane.)
Gets the primary selected element in the window pane. (Inherited from ModelingWindowPane.)
Gets the elements that are selected in the window pane. (Inherited from ModelingWindowPane.)
Gets the number of elements that are selected in the window pane. (Inherited from ModelingWindowPane.)
Gets the selection help service. (Inherited from ModelingWindowPane.)
Gets the service provider that is local to this window pane. (Inherited from ModelingWindowPane.)
Gets the IVsToolWindowToolbarHost interface, which determines how toolbars appear in the tool window.
Gets the font to use for the tool window.
(Inherited from WindowPane.)
Gets the title of the tool window.
Top
Events
Name
Description
Fired after the selection in the window pane has changed. (Inherited from ModelingWindowPane.)
Fired before the selection in the window pane changes. (Inherited from ModelingWindowPane.)
Top
Explicit Interface Implementations
Name
Description
(Inherited from WindowPane.)
IVsWindowPane.CreatePaneWindow
(Inherited from WindowPane.)
(Inherited from WindowPane.)
(Inherited from WindowPane.)
(Inherited from WindowPane.)
(Inherited from WindowPane.)
IVsBroadcastMessageEvents.OnBroadcastMessage
(Inherited from WindowPane.)
(Inherited from WindowPane.)
(Inherited from WindowPane.)
(Inherited from WindowPane.)
IVsWindowPane.TranslateAccelerator
(Inherited from WindowPane.)
Top