skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class CalendarViewCollection

Inheritance
System.Object
CalendarViewCollection
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll

Syntax

public class CalendarViewCollection : IEnumerable<CalendarView>, IList, ICollection, IEnumerable

Properties

Calendar

Declaration
public RadCalendar Calendar { get; }
Property Value
RadCalendar

Count

Gets the total number of CalendarView objects in the collection.

Declaration
public virtual int Count { get; }
Property Value
System.Int32

Implements
System.Collections.ICollection.Count

Item[Int32]

Gets or sets the CalendarView at the specified indexed location in the collection.

Declaration
public virtual CalendarView this[int index] { get; set; }
Parameters
System.Int32 index

The indexed location of the CalendarView in the collection.

Property Value
CalendarView

The CalendarView at the specified indexed location in the collection.

Item[String]

Gets or sets by name the CalendarView instance in the collection.

Declaration
public virtual CalendarView this[string str] { get; }
Parameters
System.String str

The name of the CalendarView in the collection.

Property Value
CalendarView

The CalendarView with a specified name in the collection.

Owner

Declaration
public CalendarView Owner { get; }
Property Value
CalendarView

Methods

Add(CalendarView)

Adds a previously created CalendarView object to the end of the CalendarViewCollection.

Declaration
public virtual CalendarView Add(CalendarView view)
Parameters
CalendarView view

The CalendarView object to add to the collection.

Returns
CalendarView

The zero-based index value of the CalendarView object added to the CalendarViewCollection.

AddRange(CalendarViewCollection)

Adds an collection of previously created CalendarView objects to the collection.

Declaration
public virtual CalendarViewCollection AddRange(CalendarViewCollection viewsCollection)
Parameters
CalendarViewCollection viewsCollection

An array of CalendarView objects representing the views to add to the collection.

Returns
CalendarViewCollection

Clear()

Removes all CalendarView objects from the collection.

Declaration
public void Clear()

Find(String, Boolean)

Finds the calendar views with specified key, optionally searching child views.

Declaration
public CalendarView[] Find(string key, bool searchAllChildren)
Parameters
System.String key

The name of the calendar view to search for.

System.Boolean searchAllChildren

true to search child views; otherwise, false.

Returns
CalendarView[]

An array of CalendarView objects whose Name property matches the specified key.

GetEnumerator()

Returns an enumerator that can be used to iterate through the CalendarView collection.

Declaration
public virtual IEnumerator<CalendarView> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<CalendarView>

An IEnumerator that represents the CalendarView collection.

Implements
System.Collections.Generic.IEnumerable<T>.GetEnumerator()

IndexOf(CalendarView)

Returns the index of the specified calendar view in the collection.

Declaration
public virtual int IndexOf(CalendarView view)
Parameters
CalendarView view

The CalendarView to locate in the collection.

Returns
System.Int32

The zero-based index of the item found in the calendar view collection; otherwise, -1.

Insert(Int32, CalendarView)

Inserts an existing CalendarView object into the CalendarViewCollection at the specified location.

Declaration
public virtual void Insert(int index, CalendarView view)
Parameters
System.Int32 index

The indexed location within the collection to insert the CalendarView object.

CalendarView view

The CalendarView object to insert into the collection.

Remove(CalendarView)

Removes the specified CalendarView object from the CalendarViewCollection.

Declaration
public virtual void Remove(CalendarView view)
Parameters
CalendarView view

The CalendarView object to remove.

UpdateOwnerShip(CalendarView)

Updates correctly the visual appearance of RadCalendar. Updates the parential dependencies (parent and Calendar properties) also.

Declaration
protected virtual void UpdateOwnerShip(CalendarView view)
Parameters
CalendarView view

the CalendarView that will be updated

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32)

Copies the elements of the CalendarViewCollection to an Array, starting at a particular Array index.

Declaration
void ICollection.CopyTo(Array array, int index)
Parameters
System.Array array

The one-dimensional Array that is the destination of the elements copied from CalendarViewCollection. The Array must have zero-based indexing.

System.Int32 index

The zero-based index in array at which copying begins.

Implements
System.Collections.ICollection.CopyTo(System.Array, System.Int32)

ICollection.IsSynchronized

Gets a value indicating whether access to the CalendarViewCollection is synchronized (thread safe).

Declaration
bool ICollection.IsSynchronized { get; }
Returns
System.Boolean

Implements
System.Collections.ICollection.IsSynchronized

ICollection.SyncRoot

Gets an object that can be used to synchronize access to the CalendarViewCollection.

Declaration
object ICollection.SyncRoot { get; }
Returns
System.Object

Implements
System.Collections.ICollection.SyncRoot

IEnumerable.GetEnumerator()

Returns an enumerator that can be used to iterate through the CalendarView collection.

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.Collections.IEnumerator

An IEnumerator that represents the CalendarView collection.

Implements
System.Collections.IEnumerable.GetEnumerator()

IList.Add(Object)

Adds a previously created CalendarView object to the end of the CalendarViewCollection.

Declaration
int IList.Add(object value)
Parameters
System.Object value

The CalendarView object to add to the collection.

Returns
System.Int32

The zero-based index value of the CalendarView object added to the CalendarViewCollection.

Implements
System.Collections.IList.Add(System.Object)

IList.Clear()

Removes all CalendarView objects from the collection.

Declaration
void IList.Clear()
Implements
System.Collections.IList.Clear()

IList.Contains(Object)

Determines whether the specified CalendarView object is a member of the collection.

Declaration
bool IList.Contains(object value)
Parameters
System.Object value

The CalendarView to locate in the collection.

Returns
System.Boolean

true if the CalendarView is a member of the collection; otherwise, false.

Implements
System.Collections.IList.Contains(System.Object)

IList.get_Item(Int32)

Declaration
object IList.get_Item(int index)
Parameters
System.Int32 index

Returns
System.Object

Implements
System.Collections.IList.get_Item(System.Int32)

IList.IndexOf(Object)

Returns the index of the specified calendar view in the collection.

Declaration
int IList.IndexOf(object value)
Parameters
System.Object value

The CalendarView to locate in the collection.

Returns
System.Int32

The zero-based index of the item found in the calendar view collection; otherwise, -1.

Implements
System.Collections.IList.IndexOf(System.Object)

IList.Insert(Int32, Object)

Inserts an existing CalendarView object into the CalendarViewCollection at the specified location.

Declaration
void IList.Insert(int index, object value)
Parameters
System.Int32 index

The indexed location within the collection to insert the CalendarView object.

System.Object value

The CalendarView object to insert into the collection.

Implements
System.Collections.IList.Insert(System.Int32, System.Object)

IList.IsFixedSize

Gets a value indicating whether the CalendarViewCollection has a fixed size.

Declaration
bool IList.IsFixedSize { get; }
Returns
System.Boolean

Implements
System.Collections.IList.IsFixedSize

IList.IsReadOnly

Gets a value indicating whether the CalendarViewCollection is read-only.

Declaration
bool IList.IsReadOnly { get; }
Returns
System.Boolean

Implements
System.Collections.IList.IsReadOnly

IList.Item[Int32]

Gets or sets the CalendarView at the specified indexed location in the collection.

Declaration
object IList.this[] { get; set; }
Parameters
System.Int32 index

The indexed location of the CalendarView in the collection.

Returns
System.Object

The CalendarView at the specified indexed location in the collection.

Implements
System.Collections.IList.Item[System.Int32]

IList.Remove(Object)

Removes the specified CalendarView object from the CalendarViewCollection.

Declaration
void IList.Remove(object value)
Parameters
System.Object value

The CalendarView object to remove.

Implements
System.Collections.IList.Remove(System.Object)

IList.RemoveAt(Int32)

Removes the element at the specified index of the CalendarViewCollection.

Declaration
void IList.RemoveAt(int index)
Parameters
System.Int32 index

The zero-based index of the element to remove.

Implements
System.Collections.IList.RemoveAt(System.Int32)

IList.set_Item(Int32, Object)

Declaration
void IList.set_Item(int index, object value)
Parameters
System.Int32 index

System.Object value

Implements
System.Collections.IList.set_Item(System.Int32, System.Object)

Extension Methods

CommonExtensions.ContainsAny<T>(IEnumerable<T>, IEnumerable<T>)
CommonExtensions.ForEach<T>(IEnumerable<T>, Action<T>)
CommonExtensions.Clone<T>(IEnumerable<T>)
ExtensionMethodsEditor.CastCovariant<TFrom, TTo>(IEnumerable<TFrom>)
SvgExtentions.Traverse<T>(IEnumerable<T>, Func<T, IEnumerable<T>>)
SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(IEnumerable<T>, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.