This topic has not yet been rated - Rate this topic

Diagram.IsSelected Method

Verifies whether a shape is selected in a diagram view.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
public bool IsSelected(
	ShapeElement shape
)

Parameters

shape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The shape to check.

Return Value

Type: System.Boolean
true if the shape is selected in a diagram view; otherwise, false.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ