DateRangeButton
Class in Oadm.Sdk.Client.Controls · Oadm.Sdk.Client.dll
The date range of a log or list (SDK 0.15.0; the Logs page left of its search): a command button that shows the applied range (“All”, “Last 24 hours”, “12 Nov 09:00 – 14 Nov 18:00”) and opens a flyout with the presets and Custom (DateRangePanel). Bind DateRangeButton.Range to the view model’s DateRangeChoice and query with DateRangeChoice.Resolve on DateRangeChoice.Changed.
public sealed class DateRangeButton : ToolbarButtonInherits ToolbarButton
XAML properties
Section titled “XAML properties”Set them in XAML (<ui:DateRangeButton Name="..." />) or bind them.
| Name | Type | Description |
|---|---|---|
Range |
DateRangeChoice? |
The range the button shows and the flyout changes. |
Properties
Section titled “Properties”DateRangePanel Panel { get; }The flyout’s content (tests).