Skip to main content
Table of Contents

TTMSFNCDataGrid.XYToHeader Method

Returns True when a point lies inside the header area (Header).

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCDataGrid Inherited from: TTMSFNCCustomDataGrid

Syntax

FMX.TMSFNCDataGrid.hppPascalC++
function XYToHeader(X, Y: Double): Boolean;
bool __fastcall XYToHeader(double X, double Y);

Parameters

Name Description
X Horizontal position relative to the control.
Y Vertical position relative to the control.

Returns

True when the point is inside HeaderRect; always False while the header is hidden or has zero height.