Expand Minimize
This topic has not yet been rated - Rate this topic

ShapeField.Selected Method

Gets the shape field and verifies whether it is selected.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
public bool Selected(
	ShapeElement parentShape,
	DiagramClientView view
)

Parameters

parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement

The shape element to which the shape field is assigned.

view
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView

The client view for the diagram.

Return Value

Type: Boolean
true if the shape field is selected; otherwise, false.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.