Skip to main content
All docs
V25.1
  • 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.1.dll

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

    Declaration

    [DefaultValue(GridFixedColumnHighlightMode.Default)]
    [XtraSerializableProperty]
    public virtual GridFixedColumnHighlightMode FixedColumnHighlightMode { get; set; }

    Property Value

    Type Default Description
    DevExpress.XtraGrid.Views.Grid.GridFixedColumnHighlightMode Default

    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 Type Path 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.

    Fixed Column Highlight Mode - Line, WinForms Data Grid

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

    Fixed Column Highlight Mode - Color, WinForms Data Grid

    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