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

SchedulerViewBase.ResourcesPerPage Property

Gets or sets the number of resources shown at one time on a screen.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Scheduler, DevExpress.Wpf.Scheduler

Declaration

public int ResourcesPerPage { get; set; }

Property Value

Type Description
Int32

An integer value which represents the number of resources.

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.

When the Scheduler control’s appointments are assigned to resources, they can be grouped by resources and by dates (SchedulerViewBase.GroupType and SchedulerControl.GroupType). In this instance, if there are a lot of resources in the ResourceStorage, it may make the scheduling area very crowded. To avoid this, you can use the ResourcesPerPage property to specify the number of resources shown on the screen at the same time.

If the ResourcesPerPage property value is set to 0, then all resources which are available in the ResourceStorage and have their Resource.Visible property set to true will be shown within the Scheduler control.

Note

An end-user can control the number of resources per page at runtime, via the resource navigator.

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

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