Skip to main content
A newer version of this page is available. .

ResourcesTree Class

The control used to display hierarchically ordered resources for the SchedulerControl.

Namespace: DevExpress.XtraScheduler.UI

Assembly: DevExpress.XtraScheduler.v17.2.Extensions.dll

Declaration

[ToolboxBitmap(typeof(FakeClassInRootNamespace), "Bitmaps256.ResourcesTree.bmp")]
[Docking(DockingBehavior.Ask)]
[ToolboxTabName("DX.17.2: Scheduling")]
[ComVisible(false)]
public class ResourcesTree :
    TreeList,
    IDisposable,
    ISupportInitialize,
    IResourceTreeControllerOwner

Remarks

To obtain data for display, the Resources Tree control is bound to the SchedulerControl via the ResourcesTree.SchedulerControl property. Resource data requires an additional field that specifies the parent node for the current resource, as described in the Hierarchical Resource Specifics document.

The ResourcesTree class inherits from the TreeList class and uses only a subset of properties and methods of the base class. You are advised against using properties and methods inherited from the TreeList class in your application unless they are overridden.

Note

Not all the functionality of the TreeList is available for the ResourcesTree control. Among others, the Custom Sorting feature is not supported.

The following picture illustrates the ResourcesTreeControl filled with sample data.

ResourcesTreeControl alone

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ResourcesTree 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.

See Also