Contains IEvent objects.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class SchedulerAppointmentCollection : SchedulerObservableCollection, IList, ICollection, INotifyCollectionChanged, INotifyCollectionChanging, INotifyPropertyChanged, INotifyPropertyChangingEx, ISchedulerStorage<IEvent>, IEnumerable
Inheritance: objectCollection<IEvent>ObservableCollection<IEvent>SchedulerObservableCollectionSchedulerAppointmentCollection
Implements:
Inherited Members
Constructors
public SchedulerAppointmentCollection()
Methods
Adds a range of IEvent objects to the collection.
public override void AddRange(IEnumerable<IEvent> eventCollection)
The event collection.
Overrides:
The source is enumerated once to prepare the change notification and again to add items, so it must be repeatable. A collection-changing handler can cancel the addition.
Overridden. Removes all items from the collection.
protected override void ClearItems()
Overrides:
Subscribes to the appointment's property and exception-list changes, removing existing subscriptions first.
protected virtual void ItemEventsSubscribe(IEvent item)
The appointment to observe.
Removes the property and exception-list subscriptions installed for an appointment.
protected virtual void ItemEventsUnsubscribe(IEvent item)
The appointment to stop observing.
Forwards appointment exception-list changes through the appointment collection's change notifications.
protected virtual void OnExceptionsCollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
The appointment exception collection that changed.
eNotifyCollectionChangedEventArgsThe exception-list change details.
Converts appointment property changes into collection item-change notifications.
A change to Start also emits an item-change notification for End.
protected virtual void OnItemPropertyChanged(object sender, PropertyChangedEventArgs e)
The appointment whose property changed.
ePropertyChangedEventArgsThe changed property name.
Exceptions: ArgumentExceptionsender is not an IEvent.
Overridden. Removes the item at the specified index of the collection.