ShapeField.Focused Method

Gets the shape field and verifies whether it has focus.

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

Syntax

'Declaration
Public Function Focused ( _
    parentShape As ShapeElement, _
    view As DiagramClientView _
) As Boolean
'Usage
Dim instance As ShapeField 
Dim parentShape As ShapeElement 
Dim view As DiagramClientView 
Dim returnValue As Boolean 

returnValue = instance.Focused(parentShape, _
    view)
public bool Focused(
    ShapeElement parentShape,
    DiagramClientView view
)
public:
bool Focused(
    ShapeElement^ parentShape, 
    DiagramClientView^ view
)
public function Focused(
    parentShape : ShapeElement, 
    view : DiagramClientView
) : boolean

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

ShapeField Class

ShapeField Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace