Back to Devexpress

ResourcesTree Class

windowsforms-devexpress-dot-xtrascheduler-dot-ui-657c86a7.md

latest3.1 KB
Original Source

ResourcesTree Class

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

Namespace : DevExpress.XtraScheduler.UI

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

NuGet Package : DevExpress.Win.SchedulerExtensions

Declaration

csharp
[ComVisible(false)]
[DXLicenseWinForms]
public class ResourcesTree :
    TreeList,
    IDisposable,
    ISupportInitialize,
    IResourceTreeControllerOwner
vb
<ComVisible(False)>
<DXLicenseWinForms>
Public Class ResourcesTree
    Inherits TreeList
    Implements 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.

Implements

IPrintable

Inheritance

Object MarshalByRefObject Component Control EditorContainer TreeList ResourcesTree

See Also

ResourcesTree Members

Resources Tree

DevExpress.XtraScheduler.UI Namespace