VisualResourcesBasedViewInfo.ResourceContainers Property
Gets the collection on objects containing information on the visual representation of resource containers that are used as base for displaying data in a Scheduler Control.
Namespace: DevExpress.Xpf.Scheduler.Drawing
Assembly: DevExpress.Xpf.Scheduler.v24.2.dll
NuGet Package: DevExpress.Wpf.Scheduler
Declaration
Property Value
Type | Description |
---|---|
DevExpress.Xpf.Scheduler.Drawing.VisualResourcesCollection | A DevExpress.Xpf.Scheduler.Drawing.VisualResourcesCollection collection. |
Remarks
Important
You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.
The active view‘s visual elements are combined into resource containers in the following cases:
- The Day View or Work-Week View is a current active view, and appointments are grouped by resources or no grouping is applied;
- The Week View, Month View or Timeline View is a current active view when any group type (SchedulerGroupType) is selected.
Each resource container includes its own resource header, navigation buttons, etc.
The ResourceContainers property returns the collection of VisualResource class descendants, depending on the current active view type. Each object from the returned collection contains information on the visual representations of a particular resource container.
For example, if the Week View is currently active, and appointments are grouped by resources, the ResourceContainers property will return the collection of VisualVerticalWeekViewResource objects.