Skip to content

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

NameSummary
.ctorInitializes a new instance of the [DateTimeRangePicker](# class.

Properties

NameSummary
StartGets or sets the selected range start.
EndGets or sets the selected range end.
CurrentRangeGets or sets the current resolved range.
SelectedPresetGets or sets the selected preset used to resolve the range.
RangeLabelGets or sets the optional custom label used when formatting the range.
ReferenceTimeGets or sets the reference instant used to resolve relative presets.
RangeChangedCommandGets or sets the command invoked after the control emits a range.
ApplyRangeCommandGets the command that applies the current custom range values.
ApplyPresetCommandGets the command that applies a named range preset.

Fields

NameSummary
static StartPropertyProperty for [Start](#
static EndPropertyProperty for [End](#
static CurrentRangePropertyProperty for [CurrentRange](#
static SelectedPresetPropertyProperty for [SelectedPreset](#
static RangeLabelPropertyProperty for [RangeLabel](#
static ReferenceTimePropertyProperty for [ReferenceTime](#
static RangeChangedCommandPropertyProperty for [RangeChangedCommand](#

Methods

NameSummary
CreateRangeCreates a range from the current picker state.
ApplyRangeApplies the current custom range values and emits a range-changed command.
ApplyPresetApplies a named preset and emits a range-changed command.
Inherited members