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 |
---|---|
Fixed |
A Fixed |
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. |
Middle |
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.