ShapeField.HasFocusedAppearance 方法

获取形状字段并验证它是否应显示一个具有焦点。

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)

语法

声明
Public Function HasFocusedAppearance ( _
    parentShape As ShapeElement, _
    view As DiagramClientView _
) As Boolean
public bool HasFocusedAppearance(
    ShapeElement parentShape,
    DiagramClientView view
)

参数

返回值

类型:System.Boolean
如果形状字段应显示为具有焦点,则为 true,否则为 false。

.NET Framework 安全性

请参阅

参考

ShapeField 类

Microsoft.VisualStudio.Modeling.Diagrams 命名空间