EventCollection
Wisej.Web.Ext.FullCalendar.EventCollection
Namespace: Wisej.Web.Ext.FullCalendar
Assembly: Wisej.Web.Ext.FullCalendar (3.2.0.0)
Collection of Event objects.
public class EventCollection : IList<Event>, ICollection<Event>, IEnumerable<Event>, IEnumerablePublic Class EventCollection
Inherits IList(Of [Event])
Implements ICollection(Of [Event]), IEnumerable(Of [Event]), IEnumerableProperties
Count
Int32: Returns the number of Event objects in the collection.
Item(index)
Event: Returns or sets the Event at the specified position.
Item(id)
Event: Returns or sets the Event identified by the ID.
Methods
Add(day)
Adds a new all-day Event to the collection.
Returns: Event. The newly added all-day Event.
Add(start, end)
Add a new Event.
Returns: Event. The newly added Event.
Add(start, duration)
Add a new Event.
Returns: Event. The newly added Event.
Add(id, day)
Add a new Event.
Returns: Event. The newly added Event.
Add(id, start, end)
Add a new Event.
Returns: Event. The newly added Event.
Add(id, start, duration)
Add a new Event.
Returns: Event. The newly added Event.
Add(ev)
Adds a new Event to the collection.
AddRange(list)
Adds the list of Event items to the collection.
Clear()
Removes all events.
Contains(ev)
Checks if the specified Event exists in the collection.
Returns: Boolean.
CopyTo(array, arrayIndex)
Copies all events to the specified array.
GetEnumerator()
Returns an enumerator that iterates all the Event objects in the collection.
Returns: IEnumerator<Event>.
IndexOf(ev)
Returns the index of the specified Event in the collection.
Returns: Int32.
Insert(index, ev)
Returns the index of the Event in the collection.
Remove(ev)
Removes the Event from the collection and updates the calendar.
Returns: Boolean.
RemoveAt(index)
Removes the Event at the specified index from the collection and updates the calendar.
Events
CollectionChanged
CollectionChangeEventHandler Fired when the collection changes.
Last updated
Was this helpful?