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>, IEnumerable

Properties

Int32: Returns the number of Event objects in the collection.

Event: Returns or sets the Event at the specified position.

Event: Returns or sets the Event identified by the ID.

Methods

Adds a new all-day Event to the collection.

ParameterTypeDescription

day

The DateTime date of the all-day event.

Returns: Event. The newly added all-day Event.

Add a new Event.

ParameterTypeDescription

start

The starting DateTime date and time of the event.

end

The ending DateTime date and time of the event.

Returns: Event. The newly added Event.

Add a new Event.

ParameterTypeDescription

start

The starting DateTime date and time of the event.

duration

The TimeSpan duration of the event.

Returns: Event. The newly added Event.

Add a new Event.

ParameterTypeDescription

id

A string that represents the ID of this event.

day

The DateTime date of the all-day event.

Returns: Event. The newly added Event.

Add a new Event.

ParameterTypeDescription

id

A string that represents the ID of this event.

start

The starting DateTime date and time of the event.

end

The ending DateTime date and time of the event.

Returns: Event. The newly added Event.

Add a new Event.

ParameterTypeDescription

id

A string that represents the ID of this event.

start

The starting DateTime date and time of the event.

duration

The TimeSpan duration of the event.

Returns: Event. The newly added Event.

Adds a new Event to the collection.

ParameterTypeDescription

ev

The Event to add to the collection.

Adds the list of Event items to the collection.

ParameterTypeDescription

list

The list of events to add to the collection.

Removes all events.

Checks if the specified Event exists in the collection.

ParameterTypeDescription

ev

The Event to look for.

Returns: Boolean.

Copies all events to the specified array.

ParameterTypeDescription

array

The destination array.

arrayIndex

The index at which to begin the copy.

Returns an enumerator that iterates all the Event objects in the collection.

Returns: IEnumerator<Event>.

Returns the index of the specified Event in the collection.

ParameterTypeDescription

ev

The Event to look for.

Returns: Int32.

Returns the index of the Event in the collection.

ParameterTypeDescription

index

The position in the collection where to insert the event.

ev

The Event to insert.

Removes the Event from the collection and updates the calendar.

ParameterTypeDescription

ev

The Event to remove.

Returns: Boolean.

Removes the Event at the specified index from the collection and updates the calendar.

ParameterTypeDescription

index

The index of the Event to remove.

Events

CollectionChangeEventHandler Fired when the collection changes.

Last updated