Skip to main content
Table of Contents

TTMSFNCDataGridFormatRuleItem.RankCount Property

The number of values (or, when RankIsPercent is set, the percentage) a grtTopBottom rule matches. Default is 10.

API unit family: TMSFNCDataGridConditionalFormatting Declaring type: TTMSFNCDataGridFormatRuleItem Type: Integer

Syntax

FMX.TMSFNCDataGridConditionalFormatting.hppPascalC++
property RankCount: Integer;
__property int RankCount = {read=FRankCount, write=SetRankCount, default=10};

Default: 10

Remarks

Negative values are clamped to 0, and to at most 100 while RankIsPercent is set. A percentage is converted to a count rounded up, and never more than the number of numeric cells in scope. Ties are broken in reading order, so exactly that many cells match.