Skip to main content

TcxGridTableOptionsView.FixedColumnHighlightColor Property

Specifies the color of the highlight effect applied to fixed columns.

Declaration

property FixedColumnHighlightColor: 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 columns. 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 FixedColumnHighlightColor property to explicitly define the highlight effect color if the HighlightFixedColumns property is set to True.

The following code example highlights fixed columns with a light-blue color whose alpha is 50:

  cxGrid1DBTableView1.OptionsView.HighlightFixedColumns := True; // Enables the highlight effect
  cxGrid1DBTableView1.OptionsView.FixedColumnHighlightColor := dxColorToAlphaColor(clWebLightBlue, 50); 

Light-Blue Fixed Column Highlight Example

Note

The color of the fixed column highlight effect depends on the TcxGrid control’s LookAndFeel settings if the FixedColumnHighlightColor property is set to TdxAlphaColors.Default.

The FixedColumnHighlightColor property’s default value is [TdxAlphaColors.Default](xref:dxCoreGraphics.TdxAlphaColors.Default).

See Also