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.v20.1.dll

Declaration

public VisualResourcesCollection ResourceContainers { get; protected set; }
Public Property ResourceContainers As VisualResourcesCollection

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:

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.

DXScheduler_VisualWeekViewGroupByResource_ResourceContainers

See Also