Back to Devexpress

TreeListColumn.SeparatorWidth Property

windowsforms-devexpress-dot-xtratreelist-dot-columns-dot-treelistcolumn-3768578f.md

latest3.0 KB
Original Source

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

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

Declaration

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

Property Value

TypeDefaultDescription
Int320

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:

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

Separator

SeparatorWidth

ShowVertLines

TreeListColumn Class

TreeListColumn Members

DevExpress.XtraTreeList.Columns Namespace