Delen via


ShapeSubField.GetFocusable Method

Gets a value indicating whether this ShapeSubField is focusable.

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

Syntax

'Declaration
Public MustOverride Function GetFocusable ( _
    parentShape As ShapeElement, _
    parentField As ShapeField _
) As Boolean
public abstract bool GetFocusable(
    ShapeElement parentShape,
    ShapeField parentField
)
public:
virtual bool GetFocusable(
    ShapeElement^ parentShape, 
    ShapeField^ parentField
) abstract
abstract GetFocusable : 
        parentShape:ShapeElement * 
        parentField:ShapeField -> bool
public abstract function GetFocusable(
    parentShape : ShapeElement, 
    parentField : ShapeField
) : boolean

Parameters

Return Value

Type: System.Boolean

Remarks

If a ShapeSubField is focusable, it can receive and process keyboard events. A focusable ShapeSubField does not have to be selectable.

.NET Framework Security

See Also

Reference

ShapeSubField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace