DateTimeRangePicker class¶
Defined in
Namespace: CrissCross.WPF.UI.Controls
Assembly: CrissCross.WPF.UI.dll
Full name: CrissCross.WPF.UI.Controls.DateTimeRangePicker
Modifiers: public
Summary¶
Represents a date/time range picker surface for reports, logs, and dashboard filters.
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481
Class hierarchy
classDiagram
class DateTimeRangePicker
class Control
Control <|-- DateTimeRangePicker
Inherits from: Control
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [DateTimeRangePicker](# class. |
Properties¶
| Name | Summary |
|---|---|
| Start | Gets or sets the selected range start. |
| End | Gets or sets the selected range end. |
| CurrentRange | Gets or sets the current resolved range. |
| SelectedPreset | Gets or sets the selected preset used to resolve the range. |
| RangeLabel | Gets or sets the optional custom label used when formatting the range. |
| ReferenceTime | Gets or sets the reference instant used to resolve relative presets. |
| RangeChangedCommand | Gets or sets the command invoked after the control emits a range. |
| ApplyRangeCommand | Gets the command that applies the current custom range values. |
| ApplyPresetCommand | Gets the command that applies a named range preset. |
Fields¶
| Name | Summary |
|---|---|
| static StartProperty | Property for [Start](# |
| static EndProperty | Property for [End](# |
| static CurrentRangeProperty | Property for [CurrentRange](# |
| static SelectedPresetProperty | Property for [SelectedPreset](# |
| static RangeLabelProperty | Property for [RangeLabel](# |
| static ReferenceTimeProperty | Property for [ReferenceTime](# |
| static RangeChangedCommandProperty | Property for [RangeChangedCommand](# |
Methods¶
| Name | Summary |
|---|---|
| CreateRange | Creates a range from the current picker state. |
| ApplyRange | Applies the current custom range values and emits a range-changed command. |
| ApplyPreset | Applies a named preset and emits a range-changed command. |