A newer version of this page is available.
Switch to the current version.
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.v19.1.dll
Declaration
[DXCategory("Behavior")]
[DefaultValue(FixedStyle.None)]
[XtraSerializableProperty]
public virtual FixedStyle Fixed { get; set; }
<DXCategory("Behavior")>
<DefaultValue(FixedStyle.None)>
<XtraSerializableProperty>
Public Overridable Property Fixed As FixedStyle
Property Value
Type | Default | Description |
---|---|---|
FixedStyle | None |
A FixedStyle enumeration value. |
Remarks
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.
You can anchor an unlimited number of columns to any View edge.
For additional information about fixed columns, read the Fixed Columns topic.
See Also
Feedback