Skip to main content
Table of Contents

TTMSFNCCustomDataGrid.XYToRenderer Method

Returns the nested sub-grid renderer under a point.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCCustomDataGrid

Syntax

FMX.TMSFNCDataGrid.hppPascalC++
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).