Skip to main content

GridView.FixedLineWidth Property

Gets or sets the width of frozen panel separators. The value must be in the range from 1 to 12 pixels.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v23.2.dll

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

Declaration

[DefaultValue(2)]
[DXCategory("Appearance")]
[XtraSerializableProperty(XtraSerializationFlags.AutoScaleX)]
public virtual int FixedLineWidth { get; set; }

Property Value

Type Default Description
Int32 2

An integer value that specifies the width of vertical lines that separate anchored columns and bands from others. The maximum value is 12 pixels.

Remarks

Grid Views allow you to anchor individual columns to the left or right View edge. Banded Grid Views allow you to anchor bands in the same manner. Anchored elements do not take part in horizontal scrolling. Visually, they are separated from other columns/bands by vertical lines. Use the FixedLineWidth property to specify the width of these lines.

Fixed Column Highlight Mode - Line, WinForms Data Grid

Use the GridColumn.Fixed and GridBand.Fixed properties to anchor columns and bands.

Note

The View ignores the FixedLineWidth property if the FixedColumnHighlightMode property is set to GridFixedColumnHighlightMode.Color.

See Also