Skip to content

SetMultipleResources Method

Description

Sets the new CalendarResources collection for the view.

Syntax

Public Sub SetMultipleResources( _
    ByVal [MultipleResources](#) As [CalendarResources](XtremeCalendarControl~CalendarResources.md) _
)

Parameters

  • MultipleResources: Reference to a CalendarResources collection to set as the view's new resource collection.

Remarks

Sets the new CalendarResources collection for all views in the calendar. Each view can have its own resource collection by using the SetMultipleResources method for the view.

Multiple resources allow multiple schedules to be displayed in the calendar.

Notes:

  • A CalendarResource represents a calendar for some subject like a person, a shared resource, or even a group of persons or resources.

  • Each resource is to be drawn in a separate column (CalendarViewGroup) on the calendar view. Each resource should have its own DataProvider. For example, events for people could be stored inside the Memory data provider (somebody's own or temporary events), and for other resources - inside a Database data provider (those events are not changed by the user). So, there is a possibility to use any combination of data providers in the same control.

  • When in day view, each calendar day contains one or more CalendarViewGroup objects. Each group displays all the CalendarSchedule objects contained in the CalendarResources for the CalendarViewGroup. For example, ScheduleID could contain the employee number, which is used to identify the schedule this event belongs to.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.