다음을 통해 공유


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

‘선언
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: System.Int32
    The zero-based row number of the list item.

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD

.NET Framework Security

See Also

Reference

ListField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace