Skip to main content

GridColumn.Fixed Property

Gets or sets a value specifying whether the column takes part in horizontal View scrolling or is anchored to a View edge.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v24.1.dll

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


public virtual FixedStyle Fixed { get; set; }

Property Value

Type Default Description
FixedStyle None

A FixedStyle enumeration value.

Available values:

Name Description

The band or column takes part in horizontal scrolling.


The band or column is anchored to the View’s left edge.


The band or column is anchored to the View’s right edge.


The band or column is not anchored until a user scrolls it up to the left edge. When the column reaches the left edge, it becomes fixed while other columns continue to scroll. This style is not supported for bands.


If the GridOptionsView.ColumnAutoWidth option is set to false and the total column width exceeds the View width, you can scroll the View horizontally. If you need particular columns to be displayed on screen regardless of scrolling performed, set those columns’ Fixed property to either FixedStyle.Left or FixedStyle.Right.

Fixed Column Highlight Mode - Line, WinForms Data Grid

You can anchor an unlimited number of columns to any View edge.

For additional information about fixed columns, read the Fixed Columns topic.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Fixed property.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also