Back to Devexpress

ResourceTreeControl Class

wpf-devexpress-dot-xpf-dot-scheduling-5b4ec0be.md

latest4.3 KB
Original Source

ResourceTreeControl Class

A Resource Tree control.

Namespace : DevExpress.Xpf.Scheduling

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

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
[DXLicenseWpf]
public class ResourceTreeControl :
    SchedulerControlBase
vb
<DXLicenseWpf>
Public Class ResourceTreeControl
    Inherits SchedulerControlBase

The following members return ResourceTreeControl objects:

Remarks

A Resource Tree control displays resources used in the SchedulerControl.

Use the ResourcesTreeControl.Scheduler property to establish binding. The ResourceTreeControl obtains its resources from the Scheduler’s DataSource.ResourcesSource.

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

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#L42

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

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

xml
HorizontalAlignment="Stretch" />
<dxsch:ResourceTreeControl Grid.Row="2"
                           Margin="5"

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#L56

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

Inheritance

Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control SchedulerControlBase ResourceTreeControl

See Also

ResourceTreeControl Members

DevExpress.Xpf.Scheduling Namespace