ModelingWindowPane Class
Provides selection service and selection event notification for both tool windows and document views.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Microsoft.VisualStudio.Shell::WindowPane
Microsoft.VisualStudio.Modeling.Shell::ModelingWindowPane
Microsoft.VisualStudio.Modeling.Shell::ModelingDocView
Microsoft.VisualStudio.Modeling.Shell::ToolWindow
| Name | Description | |
|---|---|---|
![]() | ModelingWindowPane(IServiceProvider^) | Initializes a new instance of the ModelingWindowPane class with the specified IServiceProvider. |
| Name | Description | |
|---|---|---|
![]() | ActiveInPlaceEditWindow | Gets and sets the active window for in-place editing. |
![]() | Content | (Inherited from WindowPane.) |
![]() | Frame | Gets the IVsWindowFrame that corresponds to this window.. |
![]() | HasSelectableObjects | Returns whether this window pane has objects that can be selected. |
![]() | HelpService | Gets the help service. |
![]() | InitializationMode | (Inherited from WindowPane.) |
![]() | MenuService | Gets the menu command service. |
![]() | PrimarySelection | Gets the primary selected element in the window pane. |
![]() | SelectedElements | Gets the elements that are selected in the window pane. |
![]() | SelectionCount | Gets the number of elements that are selected in the window pane. |
![]() | SelectionHelpService | Gets the selection help service. |
![]() | ServiceProvider | Gets the service provider that is local to this window pane. |
![]() | Window | (Inherited from WindowPane.) |
| Name | Description | |
|---|---|---|
![]() | CommitPendingEditForCommand(CommandID^) | When implemented in a derived class, specifies whether pending edits should be committed before a command is executed. |
![]() | CountAllObjects() | Gets the number of elements in the window pane. |
![]() | CountObjects(UInt32, UInt32) | Counts the number of elements in the window pane or in the current selection. |
![]() | CountSelectedObjects() | Gets the number of elements in the current selection. |
![]() | Dispose() | (Inherited from WindowPane.) |
![]() | Dispose(Boolean) | Releases the unmanaged resources used by the ModelingWindowPane and optionally releases the managed resources.(Overrides WindowPane::Dispose(Boolean).) |
![]() | DoSelectObjects(UInt32, array<Object^>^, UInt32) | When implemented in a derived class, selects elements in the window pane. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetAllObjects(UInt32, array<Object^>^) | Gets all elements in the window pane. |
![]() | GetComponentSelected(Object^) | Specifies whether the given component is selected. |
![]() | GetContainerSelected(Object^) | Specifies whether the given container is selected. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetObjects(UInt32, UInt32, array<Object^>^) | Gets either the elements that are currently selected or the elements that can be selected in the window pane. |
![]() | GetSelectedComponents() | Gets the components that are selected in the window pane. |
![]() | GetSelectedObjects(UInt32, array<Object^>^) | Gets the elements that are selected in the window pane. |
![]() | GetService(Type^) | Gets the service of the specified type. Override this method to return the custom menu command service(Overrides WindowPane::GetService(Type^).) |
![]() | GetSite(Guid, IntPtr) | Gets the site that was set with SetSite. |
![]() | GetType() | (Inherited from Object.) |
![]() | Hide() | Hides the window pane. |
![]() | Initialize() | (Inherited from WindowPane.) |
![]() | LoadUIState(Stream^) | (Inherited from WindowPane.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | OnClose() | Removes window pane objects from the shortcut menu selection when the window pane is closed.(Overrides WindowPane::OnClose().) |
![]() | OnCreate() | (Inherited from WindowPane.) |
![]() | OnSelectionChanged(EventArgs^) | Notifies event listeners after the selection changes. |
![]() | OnSelectionChanging(EventArgs^) | Notifies event listeners before the selection changes. |
![]() | PreProcessMessage(Message) | Handles window messages.(Overrides WindowPane::PreProcessMessage(Message).) |
![]() | SaveUIState(Stream^) | (Inherited from WindowPane.) |
![]() | SelectObjects(UInt32, array<Object^>^, UInt32) | Selects elements in the window pane. |
![]() | SetSelectedComponents(ICollection^) | Adds the specified components into the selection container and notifies the shell of the selection change. |
![]() | SetSelectedComponents(ICollection^, SelectionTypes) | Not currently implemented. |
![]() | SetSite(Object^) | Initializes the window pane in the environment. |
![]() | Show() | Displays the window pane, brings it to the front, and makes it the active window. |
![]() | ShowNoActivate() | Displays the window pane, brings it to the front, but does not make it the active window. |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | SelectionChanged | Fired after the selection in the window pane has changed. |
![]() | SelectionChanging | Fired before the selection in the window pane changes. |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.






