Back to Devexpress

GridView.FixedLineWidth Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridview-df30191c.md

latest3.0 KB
Original Source

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.v25.2.dll

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

Declaration

csharp
[DefaultValue(2)]
[DXCategory("Appearance")]
[XtraSerializableProperty(XtraSerializationFlags.AutoScaleX)]
public virtual int FixedLineWidth { get; set; }
vb
<DefaultValue(2)>
<DXCategory("Appearance")>
<XtraSerializableProperty(XtraSerializationFlags.AutoScaleX)>
Public Overridable Property FixedLineWidth As Integer

Property Value

TypeDefaultDescription
Int322

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.

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 or any column has the Fixed property set to MiddleLeft.

See Also

GridColumn.Fixed

GridBand.Fixed

FixedColumnHighlightMode

GridView Class

GridView Members

DevExpress.XtraGrid.Views.Grid Namespace