Back to Devexpress

DateTimeCollection Class

aspnet-devexpress-dot-web-a84166ca.md

latest3.7 KB
Original Source

DateTimeCollection Class

A collection of DateTime objects specifying dates that should be disabled for selection.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public class DateTimeCollection :
    CustomCollection<DateTime>
vb
Public Class DateTimeCollection
    Inherits CustomCollection(Of Date)

The following members return DateTimeCollection objects:

LibraryRelated API Members
ASP.NET Bootstrap ControlsBootstrapChartArgumentAxis.Holidays
BootstrapChartArgumentAxis.SingleWorkdays
BootstrapRangeSelectorScale.Holidays
BootstrapRangeSelectorScale.SingleWorkdays
ASP.NET Web Forms ControlsASPxCalendar.DisabledDates
ASPxDateEdit.DisabledDates
CalendarProperties.DisabledDates
DateEditProperties.DisabledDates
GridColumnDateRangePickerSettings.DisabledDates

Remarks

The DateTimeCollection is a collection of the DateTime objects. The properties and methods declared by this class can be used to perform common collection operations such as adding new or deleting existing items. Individual items can be accessed using indexer notation.

An instance of the DateTimeCollection class can be accessed via the ASPxCalendar.DisabledDates, ASPxDateEdit.DisabledDates, CalendarProperties.DisabledDates, and DateEditProperties.DisabledDates properties.

Implements

IList<DateTime>

ICollection<DateTime>

IEnumerable<DateTime>

IList

ICollection

IEnumerable

IStateManager

Inheritance

Object DevExpress.Web.Internal.CustomCollection<DateTime> DateTimeCollection

See Also

DateTimeCollection Members

DevExpress.Web Namespace