Back to Devexpress

TreeList.IndicatorWidth Property

windowsforms-devexpress-dot-xtratreelist-dot-treelist-9edbe0de.md

latest1.8 KB
Original Source

TreeList.IndicatorWidth Property

Gets or sets the indicator panel‘s width.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

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

Property Value

TypeDefaultDescription
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

CustomDrawNodeIndicator

TreeList Class

TreeList Members

DevExpress.XtraTreeList Namespace