Back to Devexpress

SchedulerViewBase.ResourcesPerPage Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-schedulerviewbase-264f3495.md

latest4.1 KB
Original Source

SchedulerViewBase.ResourcesPerPage Property

Gets or sets the maximum number of simultaneously displayed resources. This is a dependency property.

Namespace : DevExpress.Xpf.Scheduling

Assembly : DevExpress.Xpf.Scheduling.v25.2.dll

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public double ResourcesPerPage { get; set; }
vb
Public Property ResourcesPerPage As Double

Property Value

TypeDescription
Double

An integer value which represents the number of resources.

|

Remarks

Setting the ResourcesPerPage property value to 0 displays all available resources.

Note

The ResourcesPerPage property is not in effect for the TimelineView if the TimelineView.ViewMode property is set to Standard.

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.

wpf-scheduler-specify-custom-edit-and-recurrence-dialogs/CS/CustomMvvmFormWithRecurrenceExample/MainWindow.xaml#L24

xml
DayCount="3"
ResourcesPerPage="3"
ShowAllDayArea="False"

wpf-scheduler-use-scheduler-report-to-print-and-export-appointments/CS/PrintingExample/MainWindow.xaml#L26

xml
GroupType="Resource">
<dxsch:DayView ResourcesPerPage="3" ShowAllDayArea="False" />
<!--region #PrintButton-->

wpf-scheduler-highlight-time-intervals/CS/SchedulerCellTemplate/MainWindow.xaml#L28

xml
<dxsch:DayView
    x:Name="dayView" ResourcesPerPage="2" TimeIndicatorVisibility="Never" TimeMarkerVisibility="Never"
    TimeRegionVisibility="{DXBinding Expr='HighlightLunchHours? $dxsch:TimeRegionVisibility.Always : $dxsch:TimeRegionVisibility.Never'}"

wpf-scheduler-obtain-selected-appointment-resource-and-time-interval/CS/DXSchedulerSelection/MainWindow.xaml#L54

xml
DayCount="2"
ResourcesPerPage="2"
VisibleTime="06:00:00-21:00:00" />

wpf-scheduler-specify-custom-work-time-intervals/CS/CustomWorkTimeExample/MainWindow.xaml#L39

xml
<dxsch:WeekView x:Name="weekView1"
                ResourcesPerPage="4"
                ShowAllDayArea="False"

See Also

SchedulerViewBase Class

SchedulerViewBase Members

DevExpress.Xpf.Scheduling Namespace