DxDateEdit<T>.PickerDisplayMode Property

Specifies the datepicker type.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.dll


public DatePickerDisplayMode PickerDisplayMode { get; set; }

Property Value

Type Default Description


The datepicker type.


When the PickerDisplayMode property is set to Auto, DxDateEdit<T> adapts a datapicker to the device type.

  • Mobile and tablet devices display a datapicker as a scroll picker.

    DateEdit ScrollPicker

  • Other device types display a datepicker as a calendar.

    DateEdit Overview

Set the PickerDisplayMode property to Calendar or ScrollPicker to display a calendar or scroll picker on all devices.

<DxDateEdit @bind-Date="@DateTimeValue" PickerDisplayMode="DatePickerDisplayMode.ScrollPicker"></DxDateEdit>

@code {
    DateTime DateTimeValue { get; set; } = DateTime.Now;

Mobile devices show a datepicker in a modal window.

For the scroll picker, you can also use the ScrollPickerFormat property to define a date format for each scroll picker part (a day, month, and year).

See Also