Skip to main content
All docs
V24.1

DxDateRangePicker<T>.DropDownBodyCssClass Property

Specifies the name of the CSS class applied to the drop-down body in the Date Range Picker.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public string DropDownBodyCssClass { get; set; }

Property Value

Type Description
String

The CSS class name.

Remarks

To define the appearance of the drop-down body in the Date Range Picker, assign a CSS class name to the DropDownBodyCssClass property.

<style>
    .my-style {
        font-style: italic;
      }
</style>

<DxDateRangePicker StartDate="DateTime.Today"
                   EndDate="DateTime.Today.AddDays(7)"
                   DropDownBodyCssClass="my-style" />

CSS Class for DropDown Body in Date Edit

For more information, see the following help topic: CSS Classes.

See Also