Skip to main content
Table of Contents

TTMSFNCResponsiveManagerItemSizeComparer Class

Comparer used to sort responsive manager items by their constraint size, enabling the manager to find the closest matching breakpoint.

API unit family: TMSFNCResponsiveManager Inherits from: TComparer<TTMSFNCResponsiveManagerItem>

Syntax

FMX.TMSFNCResponsiveManager.hppPascalC++
TTMSFNCResponsiveManagerItemSizeComparer = class(TComparer<TTMSFNCResponsiveManagerItem>)
class PASCALIMPLEMENTATION TTMSFNCResponsiveManagerItemSizeComparer : public System::Generics::Defaults::TComparer__1<TTMSFNCResponsiveManagerItem*>

Methods

Name Description
Compare Compares two responsive manager items by their size constraint values and returns negative, zero, or positive to indicate ordering.