Back to Devexpress

ResourceTreeControl.Scheduler Property

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

latest3.4 KB
Original Source

ResourceTreeControl.Scheduler Property

Gets or sets the SchedulerControl to which the current control is bound.

Namespace : DevExpress.Xpf.Scheduling

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

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public SchedulerControl Scheduler { get; set; }
vb
Public Property Scheduler As SchedulerControl

Property Value

TypeDescription
SchedulerControl

A SchedulerControl whose resources are displayed.

|

Remarks

The ResourceTreeControl obtains its resources from the Scheduler’s DataSource.ResourcesSource.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Scheduler property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-scheduler-use-entity-framework-to-bind-to-data/CS/DXSample/MainWindow.xaml#L43

xml
<dxsch:ResourceTreeControl Height="200"
                               Scheduler="{Binding ElementName=view, Path=ChildScheduler}" />
</dxlc:LayoutControl>

wpf-scheduler-add-datenavigator-and-resourcetree-controls/CS/DXSample/MainWindow.xaml#L71

xml
Margin="5"
                               Scheduler="{Binding ElementName=scheduler}" />
</Grid>

wpf-scheduler-filter-time-regions/CS/DXSample/MainWindow.xaml#L35

xml
</dxe:DateNavigator>
    <dxsch:ResourceTreeControl Scheduler="{Binding ElementName=scheduler}" />
</dxlc:LayoutControl>

wpf-scheduler-disable-resource-colorization/CS/DXSample/MainWindow.xaml#L57

xml
<dxsch:ResourceTreeControl Height="200"
                               Scheduler="{Binding ElementName=view, Path=ChildScheduler}" />
</dxlc:LayoutControl>

See Also

ResourceTreeControl Class

ResourceTreeControl Members

DevExpress.Xpf.Scheduling Namespace