Time Picker
A time field that opens hour, minute and AM / PM columns.
Installation
bash
shellui-native add time-picker
Platforms: MAUI · Avalonia. Also installs icon.
Usage
Basic
MinuteStep sets the gap between minutes; the clock follows the current culture unless you set Is24Hour.
<ui:TimePicker Time="{Binding StartsAt}" MinuteStep="15" /><ui:TimePicker Time="{Binding StartsAt}" MinuteStep="15" />Not available on yet
API
| Property | Type | Default | Description |
|---|---|---|---|
Time |
TimeSpan |
The current time | Selected time. Two-way bindable. |
MinuteStep |
int |
5 |
Minutes between entries in the minute column. |
Is24Hour |
bool |
From the current culture | Defaults to the current culture's clock. |
Format |
string |
— | .NET time format string for the trigger text. Null uses "HH:mm" or "h:mm tt". |
| Event | Arguments | Description |
|---|---|---|
TimeChanged |
— | User input only: setting Time from code or a binding doesn't raise it. |
| Method | Description |
|---|---|
SetOpen(bool open) |
Opens or closes it. |
Close() |
Closes it. |