Version

CalendarGroupsOverride Property (ScheduleControlBase)

Returns a modifiable collection of CalendarGroup instances that represent the groups in view in this control.
Syntax
'Declaration
 
Public ReadOnly Property CalendarGroupsOverride As CalendarGroupCollection
public CalendarGroupCollection CalendarGroupsOverride {get;}
Remarks

The CalendarGroupsOverride is primarily meant to be used when you have multiple xamSchedule controls associated with the same XamScheduleDataManager but you want this control instance to show a different set of ResourceCalendar instances than those shown in a different xamSchedule control whose DataManager is set to the same XamScheduleDataManager. To acheive an Outlook type behavior where all the controls are displaying the same calendars and as the calendars are modified all the controls are affected you would use the XamScheduleDataManager.CalendarGroups collection instead.

If there are any CalendarGroup instances in this collection then those are the calendars that will be displayed by the control. If the Count is 0, then the xamScheduleDataManager's CalendarGroups will be used. If that too has a Count of 0, then the Resource.PrimaryCalendar of the CurrentUser will be displayed.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also