[]
        
(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)
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)
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.