[]
        
(Showing Draft Content)

C1.WPF.FlexGrid.GridPanel.GetCellRect

GetCellRect Method

GetCellRect(CellRange)

Gets a rectangle that represents the position of a CellRange on the panel.

Declaration
public Rect GetCellRect(CellRange rng)
Public Function GetCellRect(rng As CellRange) As Rect
Parameters
Type Name Description
CellRange rng

CellRange to locate.

Returns
Type Description
Rect

A rectangle that represents the position of the cell range.

GetCellRect(int, int)

Gets a rectangle that represents the position of a cell on the panel.

Declaration
public Rect GetCellRect(int row, int col)
Public Function GetCellRect(row As Integer, col As Integer) As Rect
Parameters
Type Name Description
int row

Index of the cell row.

int col

Index of the cell column.

Returns
Type Description
Rect

A rectangle that represents the position of the cell.