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
‘선언
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.DiagramClientView
The diagram view.
Return Value
Type: System.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.