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
parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe ShapeElement to which this ShapeField belongs.
row
Type: Int32The zero-based row number of the list item.
- column
Type: Int32
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.