TTMSFNCDataGrid.XYToRenderer Method
Returns the nested sub-grid renderer under a point.
API unit family: TMSFNCDataGrid
Declaring type: TTMSFNCDataGrid
Inherited from: TTMSFNCCustomDataGrid
Syntax
function XYToRenderer(X, Y: Double): TTMSFNCDataGridRenderer;
TTMSFNCDataGridRenderer* __fastcall XYToRenderer(double X, double Y);
Parameters
| Name | Description |
|---|---|
X |
Horizontal position relative to the control. |
Y |
Vertical position relative to the control. |
Returns
The innermost nested renderer under the point, or nil when the point is not over a cell hosting a sub-grid (the root renderer itself is not returned).