TcxGridBandedTableOptionsView.FixedBandHighlightColor Property
Specifies the color of the highlight effect applied to fixed bands.
Declaration
property FixedBandHighlightColor: TdxAlphaColor read; write; default TdxAlphaColors.Default;
Property Value
Type | Default | Description |
---|---|---|
TdxAlphaColor | Default | The highlight effect color. |
Remarks
The highlight effect is drawn with a translucent color on top of fixed bands. The effect’s intensity depends on the color’s alpha value, so grid draw routines limit the specified color’s maximum alpha value to 150. Use the FixedBandHighlightColor property to explicitly define the highlight effect color if the HighlightFixedBands property is set to True.
The following code example highlights fixed bands with a light-blue color whose alpha is 50:
cxGrid1DBBandedTableView1.OptionsView.HighlightFixedBands := True; // Enables the highlight effect
cxGrid1DBBandedTableView1.OptionsView.FixedBandHighlightColor := dxColorToAlphaColor(clWebLightBlue, 50);
Note
The color of the highlight effect depends on the TcxGrid control’s LookAndFeel settings if the FixedBandHighlightColor property is set to TdxAlphaColors.Default.
The FixedBandHighlightColor
property’s default value is [TdxAlphaColors.Default](xref:dxCoreGraphics.TdxAlphaColors.Default)
.