Compartilhar via


ShapeSubField.GetSelectable(ShapeElement, ShapeField) Method

Definition

Gets a value indicating whether this ShapeSubField is selectable.

public:
 abstract bool GetSelectable(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ parentField);
public abstract bool GetSelectable (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.ShapeField parentField);
abstract member GetSelectable : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeField -> bool
Public MustOverride Function GetSelectable (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 selectable.

Remarks

If a ShapeSubField is selectable, it can participate in processes which operate on the selection, such as drag/drop, displaying properties in the property browser, and processes invoked by menu commands.

Applies to