共用方式為


ShapeField.GetFocusable Method

Gets the shape field and verifies whether it can receive 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 Overridable Function GetFocusable ( _
    parentShape As ShapeElement _
) As Boolean
public virtual bool GetFocusable(
    ShapeElement parentShape
)
public:
virtual bool GetFocusable(
    ShapeElement^ parentShape
)
abstract GetFocusable : 
        parentShape:ShapeElement -> bool 
override GetFocusable : 
        parentShape:ShapeElement -> bool 
public function GetFocusable(
    parentShape : ShapeElement
) : boolean

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

ShapeField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace