Date Picker

A date field that opens a calendar under it.

Installation

bash
shellui-native add date-picker

Platforms: MAUI · Avalonia. Also installs icon, calendar.

Usage

Basic

Rendered with ShellUI for Blazor
<ui:DatePicker Date="{Binding DueDate}" Format="MMMM d, yyyy" />
Avalonia, running in your browser

MAUI and Avalonia

DateChanged passes DateChangedEventArgs on MAUI and the new DateTime on Avalonia.

API

Property Type Default Description
Date DateTime Today Selected date. Two-way bindable.
MinimumDate DateTime? null Earliest selectable date; null for no limit.
MaximumDate DateTime? null Latest selectable date; null for no limit.
Format string "MMMM d, yyyy" .NET date format string for the trigger text.
Event Arguments Description
DateChanged DateChangedEventArgs (MAUI) · DateTime (Avalonia) User input only: setting Date from code or a binding doesn't raise it.
Method Description
SetOpen(bool open) Opens or closes it.
Close() Closes it.

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.