Contains IResource objects.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class SchedulerResourceCollection : ObservableCollection<IResource>, IList, ICollection, INotifyCollectionChanged, INotifyCollectionChanging, INotifyPropertyChanged, INotifyPropertyChangingEx, ISchedulerStorage<IResource>, IEnumerable
Inheritance: objectCollection<IResource>ObservableCollection<IResource>SchedulerResourceCollection
Implements:
Inherited Members
Constructors
public SchedulerResourceCollection()
Methods
Adds a range of IResource objects to the collection.
public override void AddRange(IEnumerable<IResource> resourceCollection)
The resource 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.
Removes property-change subscriptions from all resources before clearing the collection.
protected override void ClearItems()
Overrides:
Converts a contained resource's property change into an item-change collection notification.
protected virtual void OnItemPropertyChanged(object sender, PropertyChangedEventArgs e)
The resource whose property changed.
ePropertyChangedEventArgsThe changed property name.
Exceptions: ArgumentExceptionsender is not an IResource.
Unsubscribes from the resource before removing it.
protected override void RemoveItem(int index)
The index of the resource to remove.
Overrides: