Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BandedGridColumn.Fixed Property

Gets or sets a value specifying whether a column is scrolled horizontally with the View or in a fixed position.

Namespace: DevExpress.XtraGrid.Views.BandedGrid

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#Declaration

[Browsable(false)]
public override FixedStyle Fixed { get; set; }

#Property Value

Type Description
FixedStyle

A FixedStyle enumeration member specifying column behavior when the View is scrolled.

Available values:

Name Description
None

The band or column takes part in horizontal scrolling.

Left

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

Right

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

MiddleLeft

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.

#Remarks

The Fixed property overrides the base class property to prevent switching a column to the fixed state. The property always returns the FixedStyle.None value. Assigning a value to this property has no effect. The reason is that Banded Grid Views do not support fixed columns. However, you may enable this feature for bands. Use the GridBand.Fixed property for this purpose.

See Also