All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

TreeViewControl.AutoWidthMode Property

Gets or sets how to calculate the TreeViewControl's width, by the maximum width of the longest visible node or by the maximum width of the longest node that was ever visible.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.2.dll

Declaration

public AutoWidthMode AutoWidthMode { get; set; }
Public Property AutoWidthMode As AutoWidthMode

Property Value

Type Default Description
DevExpress.Xpf.Grid.AutoWidthMode

VisibleNodes

Specifies how to calculate the TreeViewControl's width.

Remarks

In VisibleNodes mode, the horizontal scroll bar appears if visible nodes do not fit within the TreeViewControl.

In AllNodes mode, the TreeViewControl calculates its width by the width of the longest node that was ever visible.

See Also