MobileForms Toolkit Documentation

AdvancedTree.GetCellBounds Method 

Get the drawing bounds of the given cell and node.

public Rectangle GetCellBounds(
Node node,
int cellIndex
);

Parameters

node
Node containing the cell.
cellIndex
Index of the cell in the current RowTemplate, or -1 to get the node bounds.

Return Value

Rectangle containing cell/row bounds relative to AdvancedTree control

Remarks

If the cellIndex is -1, drawing bounds of the Row specified by the rowIndex. Otherwise drawing bounds of the cellIndex-th cell of the current node template for the given node are returned. If the given rnode/cell is not visible, Empty is returned.

See Also

AdvancedTree Class | Resco.Controls.AdvancedTree Namespace