Back to Devexpress

TreeListOptionsBehavior.ResizeNodes Property

windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionsbehavior-8548ec74.md

latest2.2 KB
Original Source

TreeListOptionsBehavior.ResizeNodes Property

Gets or sets whether end-users are allowed to change the heights of nodes.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool ResizeNodes { get; set; }
vb
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property ResizeNodes As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true to allow end-users to change the heights of nodes; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ResizeNodes
TreeList

.OptionsBehavior .ResizeNodes

|

Remarks

If the Tree List’s TreeListOptionsBehavior.AutoNodeHeight option is set to true , the height of its nodes is automatically adjusted so as to completely display the contents of its cells. In this case end-users cannot change the heights of the nodes regardless of the ResizeNodes property’s value.

See Also

AutoNodeHeight

CalcNodeHeight

TreeListOptionsBehavior Class

TreeListOptionsBehavior Members

DevExpress.XtraTreeList Namespace