Share via


ShapeElement.Focused Method

Verifies whether the shape has the focus.

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

Syntax

'Declaration
Public Function Focused ( _
    view As DiagramClientView _
) As Boolean
public bool Focused(
    DiagramClientView view
)
public:
bool Focused(
    DiagramClientView^ view
)
member Focused : 
        view:DiagramClientView -> bool
public function Focused(
    view : DiagramClientView
) : boolean

Parameters

Return Value

Type: Boolean
true if the shape has the focus; otherwise, false.

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace