Back to Devexpress

GridOptionsView.FixedColumnHighlightMode Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridoptionsview-105a2b1f.md

latest3.4 KB
Original Source

GridOptionsView.FixedColumnHighlightMode Property

Gets or sets whether to render fixed columns with thicker column borders or a different cell background color.

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(GridFixedColumnHighlightMode.Default)]
[XtraSerializableProperty]
public virtual GridFixedColumnHighlightMode FixedColumnHighlightMode { get; set; }
vb
<DefaultValue(GridFixedColumnHighlightMode.Default)>
<XtraSerializableProperty>
Public Overridable Property FixedColumnHighlightMode As GridFixedColumnHighlightMode

Property Value

TypeDefaultDescription
DevExpress.XtraGrid.Views.Grid.GridFixedColumnHighlightModeDefault

A GridFixedColumnHighlightMode enumeration value that specifies how to distinguish the fixed columns from regular columns.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to FixedColumnHighlightMode
GridView

.OptionsView .FixedColumnHighlightMode

|

Remarks

Set the FixedColumnHighlightMode property to GridFixedColumnHighlightMode.Line to distinguish the fixed columns by a vertical line. Use the FixedLineWidth and GridViewAppearances.FixedLine properties to specify its width and appearance settings.

Set the FixedColumnHighlightMode property to GridFixedColumnHighlightMode.Color to highlight the fixed columns with an alternative color (the View ignores the FixedLineWidth property).

Note

The View ignores the FixedColumnHighlightMode property if any column has the Fixed property set to MiddleLeft.

Read the following topic to learn more: Fixed Columns.

See Also

Fixed

FixedLineWidth

FixedLine

GridOptionsView Class

GridOptionsView Members

DevExpress.XtraGrid.Views.Grid Namespace