TimeSpanPicker

The TimeSpanPicker control allows for the input of a TimeSpan (days, hours, minutes, seconds, milliseconds) value. It is generally intended for display within a popup, such as for the TimeSpanEditBox control.

Screenshot

The toggle at the top determines whether the embedded Int32Picker is currently modifying the Days, Hours, Minutes, Seconds or Milliseconds component of the TimeSpan. See the Int32Picker for a description of how its UI functions.

Minimum and Maximum Values

Minimum and maximum values may be assigned via the Maximum and Minimum properties.

No values can be committed that lay outside of the inclusive range created by those properties.

Incrementing/Decrementing

Value changes alter the current number component by 1, which is the default for the SmallChange property.

Sample XAML

This control can be placed within any other XAML container control, such as a Page or Panel with this sort of XAML:

<editors:TimeSpanPicker Value="{Binding Path=YourVMProperty, Mode=TwoWay}" />