Diagram.IsSelected(ShapeElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value indicating whether the specified ShapeElement is selected in any associated DiagramView.
public:
bool IsSelected(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ shape);
public bool IsSelected (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement shape);
member this.IsSelected : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> bool
Public Function IsSelected (shape As ShapeElement) As Boolean
Parameters
- shape
- ShapeElement
The ShapeElement to look for in the selections of all associated DiagramViews.
Returns
true if the specified ShapeElement is selected in any DiagramView.