Skip to content

DateTimeInput

Class in Oadm.Sdk.Client.Controls · Oadm.Sdk.Client.dll

The one date and time input (SDK 0.15.0): a date picker and a 24-hour time picker side by side, the From and To of a range (DateRangeButton, Edge recording). Bind DateTimeInput.SelectedDate and DateTimeInput.SelectedTime two-way; put it in a FormField whose Error says what is wrong with the pair.

public sealed class DateTimeInput : StackPanel

Inherits StackPanel

Set them in XAML (<ui:DateTimeInput Name="..." />) or bind them.

Name Type Description
SelectedDate DateTimeOffset? The day (its time of day is ignored).
SelectedTime TimeSpan? The time of day, 24 hours.
DatePicker DatePicker { get; }

The date picker (tests).

TimePicker TimePicker { get; }

The time picker (tests).