Back to Devexpress

DateEditProperties.PickerType Property

aspnet-devexpress-dot-web-dot-dateeditproperties-05bb6fe5.md

latest2.2 KB
Original Source

DateEditProperties.PickerType Property

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

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(DatePickerType.NotSet)]
public DatePickerType PickerType { get; set; }
vb
<DefaultValue(DatePickerType.NotSet)>
Public Property PickerType As DatePickerType

Property Value

TypeDefaultDescription
DatePickerTypeNotSet

One of the DatePickerType enumeration values.

|

Available values:

NameDescription
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 date edit supports month-year picker mode. In this mode, you can specify which date component an end-user can select in the control.

Online Demo

Month-Year Picker

See Also

DateEditProperties Class

DateEditProperties Members

DevExpress.Web Namespace