System.Windows.Forms.TreeView.Indent Property

Gets or sets the distance to indent each child tree node level.

Syntax

[System.ComponentModel.Localizable(true)]
public int Indent { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Setting this property to a value of -1 does not throw an exception if the value has not yet been changed from its default. This is because the control uses a value of -1 as an internal default before the control handle has been created. This internal default value causes the wrapped control to return its own default value of 19.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0