Share via


ListField.GetItemRectangle Method

Gets the list item rectangle in world units relative to the top-left of the parent shape.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
Public Function GetItemRectangle ( _
    parentShape As ShapeElement, _
    row As Integer, _
    column As Integer _
) As RectangleD
public RectangleD GetItemRectangle(
    ShapeElement parentShape,
    int row,
    int column
)
public:
RectangleD GetItemRectangle(
    ShapeElement^ parentShape, 
    int row, 
    int column
)
member GetItemRectangle : 
        parentShape:ShapeElement * 
        row:int * 
        column:int -> RectangleD
public function GetItemRectangle(
    parentShape : ShapeElement, 
    row : int, 
    column : int
) : RectangleD

Parameters

  • row
    Type: Int32

    The zero-based row number of the list item.

  • column
    Type: Int32

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD

.NET Framework Security

See Also

Reference

ListField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace