TreeViewControl.AllowCascadeUpdate Property
Gets or sets whether the TreeViewControl enables cascading data updates. This is a dependency property.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v26.1.dll
Declaration
Property Value
| Type | Default | Description |
|---|---|---|
| Boolean | false |
|
Remarks
The TreeViewControl loads all visible nodes simultaneously while a user scrolls view. Set the AllowCascadeUpdate property to true to load nodes in the background and maintain UI responsiveness.
Example: Enable Cascading Data Updates
The following example enables cascading data updates in the TreeViewControl:
<dx:ThemedWindow x:Class="TreeViewControlApp.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
Title="TreeViewControl Demo" Height="450" Width="600">
<dxg:TreeViewControl x:Name="tree"
ChildNodesPath="Employees"
TreeViewFieldName="Name"
AllowCascadeUpdate="True"/>
</dx:ThemedWindow>
Refer to the following help topic for additional information: Cascading Data Updates.
See Also