MobileForms Toolkit Documentation

AdvancedTree.GetCellAtPoint Method 

Returns the cell at the specified point.

public CellEventArgs GetCellAtPoint(
Point pt
);

Parameters

pt
Point coordinates relative to client rectangle.

Return Value

CellEventArgs specifying the cell at the point.

Remarks

Use the client coordinates for the point. Returned CellEventArgs are null, if no node is at the point. If the Header is at the point, the node index returned is -1. If the Footer is at the point, the node index returned is -2. If no cell is at the point, the cell index returned is -1.

Exceptions

Exception Type Condition
ArgumentException is thrown when specified point is out of the client rectangle.

See Also

AdvancedTree Class | Resco.Controls.AdvancedTree Namespace