skip navigation
  • Product Bundles

    DevCraft

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

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact 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 Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free 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 CalendarDayCollection

Summary description for CalendarDayCollection.

Inheritance
System.Object
CalendarDayCollection
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 CalendarDayCollection : IEnumerable<RadCalendarDay>, IList, ICollection, IEnumerable, ICloneable

Constructors

CalendarDayCollection()

Declaration
public CalendarDayCollection()

CalendarDayCollection(RadCalendar, CalendarDayCollection)

Declaration
public CalendarDayCollection(RadCalendar owner, CalendarDayCollection days)
Parameters
RadCalendar owner

CalendarDayCollection days

Properties

Calendar

Declaration
public RadCalendar Calendar { get; set; }
Property Value
RadCalendar

Count

Gets the total number of RadCalendarDay 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 RadCalendarDay at the specified indexed location in the collection.

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

The indexed location of the RadCalendarDay in the collection.

Property Value
RadCalendarDay

The RadCalendarDay at the specified indexed location in the collection.

Item[Object]

Gets or sets a RadCalendarDay object depending on the passed key. Only integer and string indexes are valid.

Declaration
public virtual RadCalendarDay this[object obj] { get; set; }
Parameters
System.Object obj

Property Value
RadCalendarDay

Methods

Add(DateTime)

Adds a DateTime object to the end of the CalendarDayCollection.

Declaration
public virtual RadCalendarDay Add(DateTime day)
Parameters
System.DateTime day

The DateTime object to add to the collection.

Returns
RadCalendarDay

Add(RadCalendarDay)

Adds a previously created RadCalendarDay object to the end of the CalendarDayCollection.

Declaration
public virtual RadCalendarDay Add(RadCalendarDay day)
Parameters
RadCalendarDay day

The RadCalendarDay object to add to the collection.

Returns
RadCalendarDay

AddRange(IEnumerable<DateTime>)

Adds a collection of date time values to the collection.

Declaration
public virtual CalendarDayCollection AddRange(IEnumerable<DateTime> days)
Parameters
System.Collections.Generic.IEnumerable<System.DateTime> days

An IEnumerable of DateTime objects to add to the collection.

Returns
CalendarDayCollection

AddRange(CalendarDayCollection)

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

Declaration
public virtual CalendarDayCollection AddRange(CalendarDayCollection days)
Parameters
CalendarDayCollection days

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

Returns
CalendarDayCollection

Clear()

Removes all RadCalendarDay objects in the collection of CalendarDays.

Declaration
public void Clear()

Clone()

Creates a new CalendarDayCollection object that is a copy of the current instance.

Declaration
public virtual CalendarDayCollection Clone()
Returns
CalendarDayCollection

A new CalendarDayCollection object that is a copy of this instance.

Find(DateTime)

Finds the RadCalendarDay with specified key, optionally searching child days.

Declaration
public RadCalendarDay[] Find(DateTime key)
Parameters
System.DateTime key

The date bound to a particular RadCalendarDay object to search for.

Returns
RadCalendarDay[]

An array of RadCalendarDay objects whose Date property matches the specified key.

GetEnumerator()

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

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

An IEnumerator that represents the RadCalendarDay collection.

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

IndexOf(RadCalendarDay)

Returns the index of the specified RadCalendarDay object in the collection.

Declaration
public virtual int IndexOf(RadCalendarDay day)
Parameters
RadCalendarDay day

The RadCalendarDay object to locate in the collection.

Returns
System.Int32

The zero-based index of the item found in the CalendarDayCollection; otherwise, -1.

Insert(Int32, RadCalendarDay)

Inserts an existing RadCalendarDay object into the CalendarDayCollection at the specified location.

Declaration
public virtual void Insert(int index, RadCalendarDay day)
Parameters
System.Int32 index

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

RadCalendarDay day

The RadCalendarDay object to insert into the collection.

Remove(RadCalendarDay)

Removes the specified RadCalendarDay object from the CalendarDayCollection.

Declaration
public virtual void Remove(RadCalendarDay day)
Parameters
RadCalendarDay day

The RadCalendarDay object to remove.

ToArray()

Copies the elements of CalendarDayCollection to a new System.Array of RadCalendarDay elements.

Declaration
public virtual RadCalendarDay[] ToArray()
Returns
RadCalendarDay[]

A one-dimensional System.Array of RadCalendarDay elements containing copies of the elements of the CalendarDayCollection.

Remarks

Please refer to System.Collections.ArrayList.ToArray for details.

UpdateOwnerShip(RadCalendarDay)

Declaration
protected virtual void UpdateOwnerShip(RadCalendarDay day)
Parameters
RadCalendarDay day

UpdateVisuals()

Declaration
protected virtual void UpdateVisuals()

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32)

Copies the elements of the CalendarDayCollection 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 CalendarDayCollection. 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 CalendarDayCollection 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 CalendarDayCollection.

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 RadCalendarDay collection.

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

An IEnumerator that represents the RadCalendarDay collection.

Implements
System.Collections.IEnumerable.GetEnumerator()

IList.Add(Object)

Adds a RadCalendarDay object to the collection of CalendarDays.

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

The RadCalendarDay object to add to the collection.

Returns
System.Int32

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

IList.Clear()

Removes all RadCalendarDay objects in the collection of CalendarDays.

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

IList.Contains(Object)

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

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

The RadCalendarDay object to search.

Returns
System.Boolean

True if the RadCalendarDay is found, false otherwise.

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 a zero based index of a RadCalendarDay object depending on the passed index.

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

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

Returns
System.Int32

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

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

IList.Insert(Int32, Object)

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

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

The index after which the RadCalendarDay object is inserted.

System.Object value

The RadCalendarDay object to insert.

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

IList.IsFixedSize

Gets a value indicating whether the CalendarDayCollection 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 CalendarDayCollection is read-only.

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

Implements
System.Collections.IList.IsReadOnly

IList.Item[Int32]

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

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

The indexed location of the RadCalendarDay in the collection.

Returns
System.Object

The RadCalendarDay at the specified indexed location in the collection.

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

IList.Remove(Object)

Deletes a RadCalendarDay object from the collection.

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

The RadCalendarDay object to remove.

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

IList.RemoveAt(Int32)

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

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

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

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)

ICloneable.Clone()

Creates a new object that is a copy of the current instance.

Declaration
object ICloneable.Clone()
Returns
System.Object

A new object that is a copy of this instance.

Implements
System.ICloneable.Clone()

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.