Stores Scheduler time zones and forwards changes to an item's properties as collection-change notifications.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class SchedulerTimeZoneCollection : ObservableCollection<SchedulerTimeZone>, IList, ICollection, IEnumerable, INotifyCollectionChanged, INotifyCollectionChanging, INotifyPropertyChanged, INotifyPropertyChangingEx
Inheritance: objectCollection<SchedulerTimeZone>ObservableCollection<SchedulerTimeZone>SchedulerTimeZoneCollection
Implements:
Inherited Members
Constructors
public SchedulerTimeZoneCollection()
Methods
Attempts to append the supplied time zones as one batch. The collection-changing notification can cancel the operation; otherwise, a collection-changed notification is raised after insertion. The input is enumerated twice, so it must be repeatable.
public override void AddRange(IEnumerable<SchedulerTimeZone> timeZoneCollection)
The time zones to append.
Overrides:
Overridden. Removes all items from the collection.
protected override void ClearItems()
Overrides:
Overridden. Inserts an item into the collection at the specified index.
protected override void InsertItem(int index, SchedulerTimeZone item)
Overrides:
Subscribes to an item's property changes so the collection can forward them as item-change notifications.
protected virtual void ItemEventsSubscribe(SchedulerTimeZone item)
The time zone to monitor; null is ignored.
Removes the collection's property-change subscription from an item.
protected virtual void ItemEventsUnsubscribe(SchedulerTimeZone item)
The time zone to stop monitoring; null is ignored.
Forwards a contained time zone's property change as an item-change notification; detaches the handler if the item is no longer present.
protected virtual void OnItemPropertyChanged(object sender, PropertyChangedEventArgs e)
The time zone that raised the property change.
ePropertyChangedEventArgsThe changed property name.
Exceptions: ArgumentExceptionsender is not a SchedulerTimeZone.
Overridden. Removes the item at the specified index of the collection.
Overridden. Replaces the element at the specified index.
protected override void SetItem(int index, SchedulerTimeZone item)
Overrides: