Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxDateRangePicker<T>.Buttons Property

Allows you to add command buttons to the Date Range Picker.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[Parameter]
public RenderFragment Buttons { get; set; }

#Property Value

Type Description
RenderFragment

A collection of buttons (UI fragments).

#Remarks

You can add custom command buttons to the Date Range Picker component. Refer to Command Buttons for more information.

The following code hides the built-in drop-down button, adds a new drop-down button, and specifies its position:

Razor
<DxDateRangePicker StartDate="DateTime.Today"
                   EndDate="DateTime.Today.AddDays(7)"
                   ShowDropDownButton=false>
    <Buttons>
        <DxDateEditDropDownButton Position="EditorButtonPosition.Left"/>
    </Buttons>
</DxDateRangePicker>

Date Range Picker - Command Button Position

See Also