Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ResourceTreeControl.TreeListControlStyle Property

Gets or sets a TreeListControl style that is applied to the Resource Tree. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v24.2.dll

NuGet Package: DevExpress.Wpf.Scheduling

#Declaration

public Style TreeListControlStyle { get; set; }

#Property Value

Type Description
Style

A Style object providing corresponding style settings.

#Remarks

Target type: DevExpress.Xpf.Grid.TreeListControl.

The XAML below illustrates how to use the TreeListControlStyle to synchronize the ResourceTreeControl’s selected item and the SchedulerControl’s selected resource.

             <dxsch:ResourceTreeControl.TreeListControlStyle>
                <Style TargetType="dxg:TreeListControl">
                    <Setter Property="CurrentItem" Value="{Binding Path=(dxsch:ResourceTreeControl.ResourceTree).Scheduler.SelectedResource, Mode=TwoWay, 
                        RelativeSource={RelativeSource Self}, UpdateSourceTrigger=PropertyChanged}"/>
                </Style>
            </dxsch:ResourceTreeControl.TreeListControlStyle>
See Also