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.1.dll
NuGet Package: DevExpress.Wpf.Scheduling
Declaration
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