TTMSFNCDataGridFormatRuleItem.Highlight Method
Configures this rule's Appearance with a solid fill and, optionally, a text color and bold font.
API unit family: TMSFNCDataGridConditionalFormatting
Declaring type: TTMSFNCDataGridFormatRuleItem
Syntax
function Highlight(AFillColor: TTMSFNCGraphicsColor; ATextColor: TTMSFNCGraphicsColor = gcNull; ABold: Boolean = False): TTMSFNCDataGridFormatRuleItem;
TTMSFNCDataGridFormatRuleItem* __fastcall Highlight(Fmx::Tmsfncgraphicstypes::TTMSFNCGraphicsColor AFillColor, Fmx::Tmsfncgraphicstypes::TTMSFNCGraphicsColor ATextColor = (System::Uitypes::TAlphaColor)(0x0), bool ABold = false);
Remarks
Only adds settings: passing False for never removes a bold style set earlier. Each aspect it sets becomes claimed by this rule; see AppearanceAspects.
Parameters
| Name | Description |
|---|---|
AFillColor |
The solid fill color applied to matching cells; pass gcNull to leave the fill unchanged. |
ATextColor |
The font color applied to matching cells; pass gcNull (the default) to leave the font color unchanged. |
ABold |
When True, the bold font style is added for matching cells. Default is False. |
Returns
This rule, so further configuration calls can be chained.