ListItemSubField.GetFocusable(ShapeElement, ShapeField) 方法

定义

获取一个值,该值指示此形状字段是否可以接收焦点。

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

参数

parentShape
ShapeElement

此 ShapeSubField 的父 ShapeElement。

parentField
ShapeField

此 ShapeSubField 的父 ShapeField。

返回

Boolean

如果此形状字段可以接收焦点,则为 true。

适用于