Partager via


ShapeElement.Focused Method

Verifies whether the shape has the focus.

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

Syntax

'Déclaration
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: System.Boolean
true if the shape has the focus; otherwise, false.

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace