Skip to main content
Table of Contents

TTMSFNCDataGridFormatRuleItem.WithBorder Method

Configures this rule's Appearance with a solid border stroke of the given color for matching cells.

API unit family: TMSFNCDataGridConditionalFormatting Declaring type: TTMSFNCDataGridFormatRuleItem

Syntax

FMX.TMSFNCDataGridConditionalFormatting.hppPascalC++
function WithBorder(AColor: TTMSFNCGraphicsColor): TTMSFNCDataGridFormatRuleItem;
TTMSFNCDataGridFormatRuleItem* __fastcall WithBorder(Fmx::Tmsfncgraphicstypes::TTMSFNCGraphicsColor AColor);

Remarks

Claims the stroke aspect; which borders are drawn still follows the cell's own Sides unless the rule's Appearance changes them too.

Parameters

Name Description
AColor The border color applied to matching cells.

Returns

This rule, so further configuration calls can be chained.