Skip to main content
Table of Contents

TTMSFNCDataGridFormatRuleItem.Appearance Property

The cell layout this rule merges into a matching cell for non-overlay, non-colour-scale rule types.

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

Syntax

FMX.TMSFNCDataGridConditionalFormatting.hppPascalC++
property Appearance: TTMSFNCDataGridCellLayout;
__property TTMSFNCDataGridCellLayout* Appearance = {read=FAppearance, write=SetAppearance};

Remarks

Every aspect of the layout is honoured — fill (including gradients), font colour, style, family and size, border stroke and sides, text alignment, angle, margins, trimming and word wrapping. Only the aspects you actually change are merged: a rule starts out with no fill, no border and a null font colour, and any aspect still equal to that pristine state leaves the cell's own appearance untouched. See AppearanceAspects for the exact set, and Priority for how competing rules resolve per aspect. A fill or stroke whose colour is changed but whose kind is left at none is applied as solid. The layout is owned by the rule; assigning the property copies the source layout.