RadCalendarDay
RadCalendarDay represents a object that maps date value to corresponding visual settings. Also the object implements Boolean properties that represent the nature of the selected date - whether it is a weekend, disabled or selected in the context of the calendar. Mostly the values of those properties are set at runtime when a RadCalendarDay instance is constructed and passed to the DayRender event.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[SuppressMessage("Microsoft.Design", "CA1001:TypesThatOwnDisposableFieldsShouldBeDisposable")]
public class RadCalendarDay : RichUITemplateControl, IStateManager
Inheritance: objectPropertiesObjectRichUITemplateControlRadCalendarDay
Implements:
Inherited Members
Constructors
public RadCalendarDay()
Properties
Gets or sets the date represented by this RadCalendarDay.
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Date")]
public virtual DateTime Date { get; set; }
Gets or sets a value indicating whether the RadCalendarDay is disabled
public bool IsDisabled { get; set; }
Gets or sets a value indicating whether the RadCalendarDay is qualified as available for selection.
public bool IsSelectable { get; set; }
Gets or sets a value indicating whether the RadCalendarDay is selected
public bool IsSelected { get; set; }
Gets or sets a value indicating whether the RadCalendarDay represents the current date.
public bool IsToday { get; set; }
Gets or sets a value indicating whether the RadCalendarDay is mapped to a date that represents a non working day/weekend.
public bool IsWeekend { get; set; }
Gets the style properties for the RadCalendarDay instance.
[PersistenceMode(PersistenceMode.InnerProperty)]
public TableItemStyle ItemStyle { get; }
A TableItemStyle that contains the style properties for the RadCalendarDay instance.
Gets or sets a value indicating whether the RadCalendarDay settings are repeated/recurring through out the valid date range displayed by the calendar.
public RecurringEvents Repeatable { get; set; }
The RecurringEvents enumeration determines which part of the date is handled (day or day and month).
Methods
Determines whether the specified compare time is recurring.
public virtual RecurringEvents IsRecurring(DateTime compareTime, RadCalendar currentCalendar)
The compare time.
currentCalendarRadCalendarThe current calendar.
Returns: