TimeBox ClassDW.WPFToolkit Documentation
Shows textboxes to let the user input a time.
Inheritance Hierarchy

SystemObject
  System.Windows.ThreadingDispatcherObject
    System.WindowsDependencyObject
      System.Windows.MediaVisual
        System.WindowsUIElement
          System.WindowsFrameworkElement
            System.Windows.ControlsControl
              DW.WPFToolkit.ControlsTimeBox

Namespace: DW.WPFToolkit.Controls
Assembly: DW.WPFToolkit (in DW.WPFToolkit.dll) Version: 5.6.0.0
Syntax

C#
public class TimeBox : Control

The TimeBox type exposes the following members.

Constructors

  NameDescription
Public methodTimeBox
Initializes a new instance of the TimeBox class.
Top
Methods

  NameDescription
Public methodOnApplyTemplate
The template gets added to the control.
(Overrides FrameworkElementOnApplyTemplate.)
Top
Fields

  NameDescription
Public fieldStatic memberHasUpDownButtonsProperty
Identifies the HasUpDownButtons dependency property.
Public fieldStatic memberTimeFormatProperty
Identifies the TimeFormat dependency property.
Public fieldStatic memberTimeProperty
Identifies the Time dependency property.
Top
Properties

  NameDescription
Public propertyHasUpDownButtons
Gets or sets a value that indicates if the time box has up down buttons or not.
Public propertyTime
Gets or sets the time shown in the text box.
Public propertyTimeFormat
Gets or sets the format of the time the user can edit.
Top
Examples

XAML
<WPFToolkit:TimeBox HasUpDownButtons="True" TimeFormat="Long" Time="{Binding CurrentTime}" />
See Also

Reference