ClassSchedulerResourceCollection
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
SchedulerResourceCollection()
Declaration
public SchedulerResourceCollection()
Methods
AddRange(IEnumerable<IResource>)
Adds a range of IResource objects to the collection.
Declaration
public override void AddRange(IEnumerable<IResource> resourceCollection)
Parameters
resourceCollection
IEnumerable<IResource>
The resource collection.
Overrides
ClearItems()
Overridden. Removes all items from the collection.
Declaration
protected override void ClearItems()
Overrides
GetById(object)
Gets a IResource object by id.
InsertItem(int, IResource)
Overridden. Inserts an item into the collection at the specified index.
ItemEventsSubscribe(IResource)
Declaration
protected virtual void ItemEventsSubscribe(IResource item)
Parameters
item
ItemEventsUnsubscribe(IResource)
Declaration
protected virtual void ItemEventsUnsubscribe(IResource item)
Parameters
item
OnItemPropertyChanged(object, PropertyChangedEventArgs)
Declaration
protected virtual void OnItemPropertyChanged(object sender, PropertyChangedEventArgs e)
Parameters
sender
e
RemoveItem(int)
Overridden. Removes the item at the specified index of the collection.
Declaration
protected override void RemoveItem(int index)
Parameters
index
Overrides
SetItem(int, IResource)
Overridden. Replaces the element at the specified index.