Version

About Resources and Calendars

XamSchedule components are designed to display, create and manipulate activities . In order to display these entities there needs to be some organization. The first level is accomplished through the OwningResourceId property of an activity – it refers to a Resource entity, which represents, for example, a person or a conference room. Every Resource needs a unique Id in order to be referenced as an owner. The second level of organization is done via the OwningCalendarId property, which identifies a specific ResourceCalendar – every activity is assigned to one and only one calendar.

Note
Note:

Each Resource can have one or more ResourceCalendars.

This lets the developer organize the appointments of a certain owner into one or more ResourceCalendars.

Note
Note:

The minimum required properties of a ResourceCalendar are its Id and OwningResourceId.

In summary, a Resource can have multiple ResourceCalendars (one of which can be specified as the PrimaryCalendar). Every ResourceCalendar can have multiple activities.

The controls expose various properties which govern which ResourceCalendar(s) are displayed in the UI.