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.v24.1.dll
NuGet Package: DevExpress.Wpf.Scheduler
Declaration
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference 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.