ShapeField::Focused Method (ShapeElement^, DiagramClientView^)

 

Gets the shape field and verifies whether it has focus.

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

public:
bool Focused(
	ShapeElement^ parentShape,
	DiagramClientView^ view
)

Parameters

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

The parent shape of the shape field.

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

The diagram client view.

diagramClientView

The DiagramClientView to check.

Return Value

Type: System::Boolean

true if the shape field has focus; otherwise, false.

Return to top
Show: