DxDateEdit<T>.ScrollPickerFormat Property
Specifies a scroll picker’s date format.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue("ddd MMM yyyy")]
[Parameter]
public string ScrollPickerFormat { get; set; }
Property Value
Type | Default | Description |
---|---|---|
String | "ddd MMM yyyy" | The date format. |
Remarks
When the datepicker is displayed as a scroll picker (the PickerDisplayMode property is set to Auto
or ScrollPicker
), use the ScrollPickerFormat
property to define a date format for each scroll picker part (a day, month, and year).
<DxDateEdit @bind-Date="@DateTimeValue" PickerDisplayMode="DatePickerDisplayMode.ScrollPicker"
ScrollPickerFormat="dddd MMMM yyyy"></DxDateEdit>
@code {
DateTime DateTimeValue { get; set; } = DateTime.Now;
}
<DxDateEdit>
supports the following format specifiers:
The order of the specified formats defines the order of the corresponding scroll picker parts.
See Also