ShapeField.Focused 方法

取得由 shape 功能變數,並確認其是否有焦點。

命名空間:  Microsoft.VisualStudio.Modeling.Diagrams
組件:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

語法

'宣告
Public Function Focused ( _
    parentShape As ShapeElement, _
    view As DiagramClientView _
) As Boolean
public bool Focused(
    ShapeElement parentShape,
    DiagramClientView view
)

參數

傳回值

型別:System.Boolean
true 如果 shape 功能變數有焦點。 否則,false。

.NET Framework 安全性

請參閱

參考

ShapeField 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間