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
view
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientViewThe diagram view.
Return Value
Type: Boolean
true if the shape has the focus; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.