ClassSelectedDateCollection
Represents a custom collection of DateTime objects, serving as return type of RadCalendar wrapper properties and methods.
Definition
Namespace:Telerik.WebAii.Controls.Html
Assembly:Telerik.WebAii.Controls.Html.dll
Syntax:
public class SelectedDateCollection : Collection<DateTime>, IList<DateTime>, ICollection<DateTime>, IList, ICollection, IReadOnlyList<DateTime>, IReadOnlyCollection<DateTime>, IEnumerable<DateTime>, IEnumerable
Inheritance: objectCollection<DateTime>SelectedDateCollection
Implements:
Inherited Members
Constructors
SelectedDateCollection()
Initializes a new instance of the SelectedDateCollection class. The empty constructor.
Declaration
public SelectedDateCollection()
SelectedDateCollection(DateTime[])
Initializes a new instance of the SelectedDateCollection class. Serves as a wrapper for the specified DateTime objects array.
Declaration
public SelectedDateCollection(DateTime[] datesArray)
Parameters
datesArray
DateTime[]
SelectedDateCollection(IList<DateTime>)
Initializes a new instance of the SelectedDateCollection class. Serves as a wrapper for the specified list.
Methods
InitializeCodeExpression()
Generates initialization code for the selected date collection.
Declaration
public string InitializeCodeExpression()
Returns
The initialization code for the selected date collection.
Matches(SelectedDateCollection)
Get whether the current colleciton items match those from the given collection.
Declaration
public bool Matches(SelectedDateCollection dates)
Parameters
dates
The date collection to compare.
Returns
Whether the current colleciton items match those from the given collection.