Skip to main content

DxDateEdit<T>.ShowDropDown() Method

Displays the editor’s drop-down calendar.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

public void ShowDropDown()

Remarks

Call the ShowDropDown method to open the editor’s drop-down calendar. The following code adds a button that opens the editors’s drop-down calendar:

<DxDateEdit Date=DateTime.Today
            @ref=MyDateEdit>
</DxDateEdit>

<DxButton Text="Show Calendar" Click=OnButtonClick />

@code {
    DxDateEdit<DateTime> MyDateEdit { get; set; }

    void OnButtonClick() {
        MyDateEdit.ShowDropDown();
    }
}
See Also