Udostępnij za pośrednictwem


Diagram.FixUpDiagramSelection(ShapeElement) Method

Definition

Updates the selection during FixUpDiagram. Default behavior is to select the newChildShape on the active diagram view if there is one, or on all views if there is no active view.

public:
 virtual System::Collections::IList ^ FixUpDiagramSelection(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ newChildShape);
public virtual System.Collections.IList FixUpDiagramSelection (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement newChildShape);
abstract member FixUpDiagramSelection : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> System.Collections.IList
override this.FixUpDiagramSelection : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> System.Collections.IList
Public Overridable Function FixUpDiagramSelection (newChildShape As ShapeElement) As IList

Parameters

newChildShape
ShapeElement

The new child shape that is added by FixUpDiagram

Returns

A non-null list of DiagramClientViews that had their selection modified.

Applies to