TreeListBand.SeparatorWidth Property

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

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

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

Property Value

Type Default Description
Int32

0

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

Remarks

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

TreeListBand_SeparatorWidth

The TreeListOptionsView.ShowVertLines property affects only the regular vertical lines, whose width is not customized using the SeparatorWidth property.

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 column, use the TreeListColumn.SeparatorWidth property.

See Also