Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class CalendarViewCollection : IList, ICollection, IEnumerable
Inheritance: objectCalendarViewCollection
Implements:
Properties
public RadCalendar Calendar { get; }
Gets the total number of CalendarView objects in the collection.
public virtual int Count { get; }
Implements:
public CalendarView Owner { get; }
Gets or sets the CalendarView at the specified indexed location in the collection.
public virtual CalendarView this[int index] { get; set; }
The indexed location of the CalendarView in the collection.
Property Value:The CalendarView at the specified indexed location in the collection.
Gets or sets by name the CalendarView instance in the collection.
public virtual CalendarView this[string str] { get; }
The name of the CalendarView in the collection.
Property Value:The CalendarView with a specified name in the collection.
Methods
Adds a previously created CalendarView object to the end of the CalendarViewCollection.
public virtual CalendarView Add(CalendarView view)
The CalendarView object to add to the collection.
Returns:The zero-based index value of the CalendarView object added to the CalendarViewCollection.
Adds an collection of previously created CalendarView objects to the collection.
public virtual CalendarViewCollection AddRange(CalendarViewCollection viewsCollection)
An array of CalendarView objects representing the views to add to the collection.
Returns:Removes all CalendarView objects from the collection.
public void Clear()
Finds the calendar views with specified key, optionally searching child views.
Returns an enumerator that can be used to iterate through the CalendarView collection.
public virtual IEnumerator<CalendarView> GetEnumerator()
IEnumerator<CalendarView>
An IEnumerator that represents the CalendarView collection.
Returns the index of the specified calendar view in the collection.
public virtual int IndexOf(CalendarView view)
The CalendarView to locate in the collection.
Returns:The zero-based index of the item found in the calendar view collection; otherwise, -1.
Inserts an existing CalendarView object into the CalendarViewCollection at the specified location.
public virtual void Insert(int index, CalendarView view)
The indexed location within the collection to insert the CalendarView object.
viewCalendarViewThe CalendarView object to insert into the collection.
Removes the specified CalendarView object from the CalendarViewCollection.
public virtual void Remove(CalendarView view)
The CalendarView object to remove.
Updates correctly the visual appearance of RadCalendar. Updates the parential dependencies (parent and Calendar properties) also.
protected virtual void UpdateOwnerShip(CalendarView view)
the CalendarView that will be updated