MobileForms Toolkit Documentation

AdvancedList.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 row is at the point. If the HeaderRow is at the point, the row index returned is -1. If the FooterRow is at the point, the row 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

AdvancedList Class | Resco.Controls.AdvancedList Namespace