共用方式為


ListField.GetItemRectangle 方法

取得清單項目矩形中相對於左上方的父圖案的全局單位表示。

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

語法

'宣告
Public Function GetItemRectangle ( _
    parentShape As ShapeElement, _
    row As Integer, _
    column As Integer _
) As RectangleD
public RectangleD GetItemRectangle(
    ShapeElement parentShape,
    int row,
    int column
)

參數

  • row
    型別:System.Int32
    清單項目之以零起始的資料列數目。

傳回值

型別:Microsoft.VisualStudio.Modeling.Diagrams.RectangleD

.NET Framework 安全性

請參閱

參考

ListField 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間