Skip to main content
Table of Contents

TTMSFNCDataGridCellControlInfo.Compare Method

Returns True when AInfo describes the same control appearance, so a bitmap cached for one can be drawn for the other.

API unit family: TMSFNCDataGridCell Declaring type: TTMSFNCDataGridCellControlInfo

Syntax

FMX.TMSFNCDataGridCell.hppPascalC++
function Compare(AInfo: TTMSFNCDataGridCellControlInfo): Boolean; virtual;
virtual bool __fastcall Compare(TTMSFNCDataGridCellControlInfo* AInfo);

Remarks

Override together with Assign and CopyInstance when a descendant adds fields.

Parameters

Name Description
AInfo Control info to compare with; must not be nil.

Returns

True when Type, Width, Height, Text, Caption, Focused, Tag, and ExtraHash are all equal.