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

TreeListColumn.SeparatorWidth Property

Gets or sets the width, in pixels, of the column separator (grid vertical lines that visually separate this column from other columns).

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

[DefaultValue(0)]
[DXCategory("Appearance")]
[XtraSerializableProperty(XtraSerializationFlags.AutoScaleX)]
public int SeparatorWidth { get; set; }

#Property Value

Type Default Description
Int32 0

An integer value that specifies the column separator width, in pixels.

#Remarks

The SeparatorWidth property allows you to customize the vertical line width of the current column and thereby separate it from other columns:

TreeList_SeparatorWidth

The SeparatorWidth property does not affect:

The TreeListOptionsView.ShowVertLines property does not affect separators.

To specify the separator background color, use the corresponding property accessible in the TreeListAppearanceCollection.Separator appearance options.

To specify the vertical lines width for a particular band, use the TreeListBand.SeparatorWidth property.

See Also