共用方式為


ShapeSubField.GetFocusable(ShapeElement, ShapeField) Method

Definition

Gets a value indicating whether this ShapeSubField is focusable.

public:
 abstract bool GetFocusable(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ parentField);
public abstract bool GetFocusable (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.ShapeField parentField);
abstract member GetFocusable : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeField -> bool
Public MustOverride Function GetFocusable (parentShape As ShapeElement, parentField As ShapeField) As Boolean

Parameters

parentShape
ShapeElement

The parent ShapeElement of this ShapeSubField.

parentField
ShapeField

The parent ShapeField of this ShapeSubField.

Returns

true if this ShapeSubField is focusable.

Remarks

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

Applies to