New to Telerik UI for WinForms? Start a free 30-day trial

Supplies a separate appointment collection while exposing the scheduler's current resource and metadata stores. Appointment objects are referenced, not cloned.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
public class SnapshotAppointmentsSchedulerData : ISchedulerData

Inheritance: objectSnapshotAppointmentsSchedulerData

Implements: ISchedulerData

Constructors

Creates data for the specified scheduler and copies the supplied appointment references into a separate collection. A null appointment sequence produces an empty event store.

C#
public SnapshotAppointmentsSchedulerData(RadScheduler scheduler, IEnumerable<IEvent> appointments)
Parameters:schedulerRadScheduler

The scheduler supplying resource and metadata stores; it must not be null.

appointmentsIEnumerable<IEvent>

The appointments to place in the separate event store, or null for an empty store.

Properties

Gets the scheduler's current resource-grouping mode.

C#
public GroupType GroupType { get; }

Implements: ISchedulerData.GroupType

Methods

Gets the scheduler's live appointment-background collection.

C#
public ISchedulerStorage<IAppointmentBackgroundInfo> GetBackgroundStorage()
Returns:

ISchedulerStorage<IAppointmentBackgroundInfo>

The scheduler background storage.

Implements: ISchedulerData.GetBackgroundStorage()

Gets the separate collection populated from the constructor's appointment sequence.

C#
public ISchedulerStorage<IEvent> GetEventStorage()
Returns:

ISchedulerStorage<IEvent>

The appointment snapshot collection.

Implements: ISchedulerData.GetEventStorage()

Gets the scheduler's live reminder collection.

C#
public ISchedulerStorage<IAppointmentReminderInfo> GetReminderStorage()
Returns:

ISchedulerStorage<IAppointmentReminderInfo>

The scheduler reminder storage.

Implements: ISchedulerData.GetReminderStorage()

Gets the scheduler's live resource collection.

C#
public ISchedulerStorage<IResource> GetResourceStorage()
Returns:

ISchedulerStorage<IResource>

The scheduler resource storage.

Implements: ISchedulerData.GetResourceStorage()

Gets the scheduler's live appointment-status collection.

C#
public ISchedulerStorage<IAppointmentStatusInfo> GetStatusStorage()
Returns:

ISchedulerStorage<IAppointmentStatusInfo>

The scheduler status storage.

Implements: ISchedulerData.GetStatusStorage()