Edit this page

Telerik.Web.UI.Calendar.Collections.CalendarViewCollection

CalendarView collection. See http://docs.telerik.com/devtools/aspnet-ajax/controls/calendar/functionality/multi-view-mode Multi-View Modefor general information aboout this mode.
You can also find code example in the and http://docs.telerik.com/devtools/aspnet-ajax/controls/calendar/functionality/title-settings#title-customization Title Settingstopic.

Inheritance Hierarchy

  • System.Object
  • System.Collections.CollectionBase
  • Telerik.Web.UI.Calendar.Collections.CalendarViewCollection : IStateManager

Properties

Item CalendarView

Returns a CalendarView object depending on the passed index.
Only integer and string indexes are valid.

ParentCalendar RadCalendar

Gets or sets the parent(owner) calendar.

Methods

Add

Adds a CalendarView object to the collection of CalendarDays.

Parameters

inputItem Telerik.Web.UI.Calendar.View.CalendarView

The CalendarView object to add to the collection.

Returns

System.Int32

AddRange

Adds the elements of the specified collection to the end of the .

Parameters

inputItems Telerik.Web.UI.Calendar.View.CalendarView

The collection whose elements should be added
to the end of the .

Returns

System.Void

Clear

Removes all CalendarView objects in the collection of CalendarDays.

Returns

System.Void

Clone

Clones the instance.

Returns

Telerik.Web.UI.Calendar.Collections.CalendarViewCollection

CloneInner

Clones the inner collection.

Returns

System.Collections.ArrayList

Contains

Checks whether a specific CalendarView object is in the collection of CalendarDays.

Parameters

inputItem Telerik.Web.UI.Calendar.View.CalendarView

The CalendarView object to search.

Returns

System.Boolean True if the CalendarView is found, false otherwise.

CopyTo

Copies all elements of the Array to the specified
one-dimensional starting at the specified destination index. The
index is specified as a 32-bit integer.

Parameters

inputArray Telerik.Web.UI.Calendar.View.CalendarView

The one-dimensional that is the destination
of the elements copied from the current .

startCopyIndex System.Int32

A 32-bit integer that represents the index in array at which copying begins.

Returns

System.Void

CopyTo

Copies all elements of the Array to the specified
one-dimensional .

Parameters

inputArray Telerik.Web.UI.Calendar.View.CalendarView

The one-dimensional that is the destination
of the elements copied from the current .

Returns

System.Void

IndexOf

Returns a zero based index of a CalendarView object depending on the passed index.

Parameters

inputItem System.Object

The zero-based index, CalendarView object or the date represented by the searched CalendarView object.

Returns

System.Int32 A zero based index of the CalendarView object in the collection, or -1 if the CalendarView object is not found.

Insert

Adds a CalendarView object in the collection at the specified index.

Parameters

insertIndex System.Int32

The index after which the CalendarView object is inserted.

inputItem Telerik.Web.UI.Calendar.View.CalendarView

The CalendarView object to insert.

Returns

System.Void

Remove

Deletes a CalendarView object from the collection.

Parameters

inputItem Telerik.Web.UI.Calendar.View.CalendarView

The CalendarView object to remove.

Returns

System.Void

RemoveAt

Deletes the CalendarView object from the collection at the specified index.

Parameters

index System.Int32

The index in collection at which the CalendarView object will be deleted.

Returns

System.Void

RemoveRange

Removes a range of elements from the .

Parameters

startIndex System.Int32

The zero-based starting index of the range of elements to remove.

itemCount System.Int32

The number of elements to remove.

Returns

System.Void

Reverse

Reverses the order of the elements in the entire collection.

Remarks

Please refer to for details.

Returns

System.Void

Sort

Sorts the elements in the entire
using the implementation of each element.

Remarks

Please refer to for details.

Returns

System.Void

Sort

Sorts the elements in the entire
using the specified interface.

Remarks

Please refer to for details.

Parameters

itemComparer System.Collections.IComparer

The implementation to use when comparing elements.-or-A null reference to use the implementation
of each element.

Returns

System.Void

Sort

Sorts the elements in the specified range
using the specified interface.

Remarks

Please refer to for details.

Parameters

startIndex System.Int32

The zero-based starting index of the range
of elements to sort.

itemCount System.Int32

The number of elements to sort.

itemComparer System.Collections.IComparer

The implementation to use when comparing elements.-or-A null reference to use the implementation
of each element.

Returns

System.Void

ToArray

Copies the elements of CalendarViewCollection to a new
of elements.

Remarks

Please refer to for details.

Returns

Telerik.Web.UI.Calendar.View.CalendarView[] A one-dimensional of
elements containing copies of the elements of the .