Skip to main content
All docs
V26.1
  • 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

    public bool AllowCascadeUpdate { get; set; }

    Property Value

    Type Default Description
    Boolean false

    true to enable cascading data updates; otherwise, 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