wpf-devexpress-dot-xpf-dot-scheduling-dot-resourcetreecontrol-a7ef9804.md
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.v25.2.dll
NuGet Package : DevExpress.Wpf.Scheduling
public Style TreeListControlStyle { get; set; }
Public Property TreeListControlStyle As Style
| Type | Description |
|---|---|
| Style |
A Style object providing corresponding style settings.
|
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