Skip to main content
Tab

ASPxCalendar.PickerType Property

Specifies a date component an end user can select (a day, month, decade or year).

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(DatePickerType.NotSet)]
public DatePickerType PickerType { get; set; }

Property Value

Type Default Description
DatePickerType NotSet

One of the DatePickerType enumeration values.

Available values:

Name Description
NotSet

The date picker type is not set. In this case:

Days

An end user can select a day in the calendar.

Months

An end user selects a month in the calendar.

Years

An end user selects a year in the calendar.

Decades

An end user selects a decade in the calendar.

Remarks

The ASPxCalendar supports month-year picker mode. In this mode, you can specify which date component an end-user can select in the control.

<dx:ASPxCalendar runat="server" ID="calendar" PickerType="Months">
    <FastNavProperties InitialView="Years" MaxView="Years" />
</dx:ASPxCalendar>

Online Demo

Features

See Also