TreeList.IndicatorWidth Property

Gets or sets the indicator panel's width.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

[DefaultValue(-1)]
[XtraSerializableProperty(XtraSerializationFlags.AutoScaleXNoDefault)]
public virtual int IndicatorWidth { get; set; }
<DefaultValue(-1)>
<XtraSerializableProperty(XtraSerializationFlags.AutoScaleXNoDefault)>
Public Overridable Property IndicatorWidth As Integer

Property Value

Type Default Description
Int32

-1

An integer value that specifies the width of the node indicator panel in pixels.

Remarks

If you set the IndicatorWidth property to a value less than 4, the property's value is reset to 4.

To custom paint indicator panel cells, handle the TreeList.CustomDrawNodeIndicator event.

See Also