EnhancedTreeViewAutoExpandSelected Property DW.WPFToolkit Documentation
Gets or sets a value which indicates if the TreeViewItems gets expanded automatically to the selected item when using SelectedElement.

Namespace: DW.WPFToolkit.Controls
Assembly: DW.WPFToolkit (in DW.WPFToolkit.dll) Version: 5.6.0.0
Syntax

C#
public bool AutoExpandSelected { get; set; }

Property Value

Type: Boolean
Remarks

This works only if the items are not virtualized or were visible already.
In ItemsPanelTemplate usually a VirtualizingStackPanel is used, then the TreeViewItems gets created only after expanding the parent.
With overriding the ItemsPanel with a normal StackPanel all container should get created directly, but then the performance will suffer depending an the amount of items.

The default value is false.
See Also

Reference