LineSegment.GetFocusable(ShapeElement) 方法

定义

返回一个值,该值指示此段是否可获得焦点。

public:
 bool GetFocusable(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape);
public bool GetFocusable (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape);
member this.GetFocusable : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> bool
Public Function GetFocusable (parentShape As ShapeElement) As Boolean

参数

parentShape
ShapeElement

此段所属的形状。

返回

Boolean

如果此段可设定焦点,则为 true。

适用于