Back to Devexpress

ResourceTreeControl.TreeListControlStyle Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-resourcetreecontrol-a7ef9804.md

latest1.9 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public Style TreeListControlStyle { get; set; }
vb
Public Property TreeListControlStyle As Style

Property Value

TypeDescription
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.

xaml
<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

ResourceTreeControl Class

ResourceTreeControl Members

DevExpress.Xpf.Scheduling Namespace