ModelingWindowPane Class

 

Provides selection service and selection event notification for both tool windows and document views.

Namespace:   Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)


[CLSCompliantAttribute(false)]
public abstract class ModelingWindowPane : WindowPane, IObjectWithSite, 
	ISelectionContainer, ISelectionService

NameDescription
System_CAPS_protmethodModelingWindowPane(IServiceProvider)

Initializes a new instance of the ModelingWindowPane class with the specified IServiceProvider.

NameDescription
System_CAPS_pubpropertyActiveInPlaceEditWindow

Gets and sets the active window for in-place editing.

System_CAPS_pubpropertyContent

(Inherited from WindowPane.)

System_CAPS_pubpropertyFrame

Gets the IVsWindowFrame that corresponds to this window..

System_CAPS_protpropertyHasSelectableObjects

Returns whether this window pane has objects that can be selected.

System_CAPS_protpropertyHelpService

Gets the help service.

System_CAPS_protpropertyInitializationMode

(Inherited from WindowPane.)

System_CAPS_pubpropertyMenuService

Gets the menu command service.

System_CAPS_pubpropertyPrimarySelection

Gets the primary selected element in the window pane.

System_CAPS_protpropertySelectedElements

Gets the elements that are selected in the window pane.

System_CAPS_pubpropertySelectionCount

Gets the number of elements that are selected in the window pane.

System_CAPS_protpropertySelectionHelpService

Gets the selection help service.

System_CAPS_protpropertyServiceProvider

Gets the service provider that is local to this window pane.

System_CAPS_pubpropertyWindow

(Inherited from WindowPane.)

NameDescription
System_CAPS_protmethodCommitPendingEditForCommand(CommandID)

When implemented in a derived class, specifies whether pending edits should be committed before a command is executed.

System_CAPS_protmethodCountAllObjects()

Gets the number of elements in the window pane.

System_CAPS_pubmethodCountObjects(UInt32, UInt32)

Counts the number of elements in the window pane or in the current selection.

System_CAPS_protmethodCountSelectedObjects()

Gets the number of elements in the current selection.

System_CAPS_pubmethodDispose()

(Inherited from WindowPane.)

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the ModelingWindowPane and optionally releases the managed resources.(Overrides WindowPane.Dispose(Boolean).)

System_CAPS_protmethodDoSelectObjects(UInt32, Object[], UInt32)

When implemented in a derived class, selects elements in the window pane.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_protmethodGetAllObjects(UInt32, Object[])

Gets all elements in the window pane.

System_CAPS_pubmethodGetComponentSelected(Object)

Specifies whether the given component is selected.

System_CAPS_pubmethodGetContainerSelected(Object)

Specifies whether the given container is selected.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetObjects(UInt32, UInt32, Object[])

Gets either the elements that are currently selected or the elements that can be selected in the window pane.

System_CAPS_pubmethodGetSelectedComponents()

Gets the components that are selected in the window pane.

System_CAPS_protmethodGetSelectedObjects(UInt32, Object[])

Gets the elements that are selected in the window pane.

System_CAPS_protmethodGetService(Type)

Gets the service of the specified type. Override this method to return the custom menu command service(Overrides WindowPane.GetService(Type).)

System_CAPS_pubmethodGetSite(Guid, IntPtr)

Gets the site that was set with SetSite.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodHide()

Hides the window pane.

System_CAPS_protmethodInitialize()

(Inherited from WindowPane.)

System_CAPS_pubmethodLoadUIState(Stream)

(Inherited from WindowPane.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodOnClose()

Removes window pane objects from the shortcut menu selection when the window pane is closed.(Overrides WindowPane.OnClose().)

System_CAPS_protmethodOnCreate()

(Inherited from WindowPane.)

System_CAPS_protmethodOnSelectionChanged(EventArgs)

Notifies event listeners after the selection changes.

System_CAPS_protmethodOnSelectionChanging(EventArgs)

Notifies event listeners before the selection changes.

System_CAPS_protmethodPreProcessMessage(Message)

Handles window messages.(Overrides WindowPane.PreProcessMessage(Message).)

System_CAPS_pubmethodSaveUIState(Stream)

(Inherited from WindowPane.)

System_CAPS_pubmethodSelectObjects(UInt32, Object[], UInt32)

Selects elements in the window pane.

System_CAPS_pubmethodSetSelectedComponents(ICollection)

Adds the specified components into the selection container and notifies the shell of the selection change.

System_CAPS_pubmethodSetSelectedComponents(ICollection, SelectionTypes)

Not currently implemented.

System_CAPS_pubmethodSetSite(Object)

Initializes the window pane in the environment.

System_CAPS_pubmethodShow()

Displays the window pane, brings it to the front, and makes it the active window.

System_CAPS_pubmethodShowNoActivate()

Displays the window pane, brings it to the front, but does not make it the active window.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventSelectionChanged

Fired after the selection in the window pane has changed.

System_CAPS_pubeventSelectionChanging

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.

Return to top
Show: