Xceed Toolkit Plus for WPF v4.6 Documentation
TimeSpanUpDown Class
Members 


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit Namespace : TimeSpanUpDown Class

The TimeSpanUpDown class represents a control that lets you increment or decrement a time value over 24 hours. The Format is Days.Hours:Minutes:Seconds.

 

This class derives from UpDownBase, which is an abstract class that is now the base class for DateTimeUpDown and TimeSpanUpDown. It contains their common methods and properties.

Syntax
'Declaration
 
<TemplatePartAttribute(Name="PART_TextBox", Type=System.Windows.Controls.TextBox)>
<StyleTypedPropertyAttribute(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)>
<XmlLangPropertyAttribute("Language")>
<UsableDuringInitializationAttribute(True)>
<RuntimeNamePropertyAttribute("Name")>
<UidPropertyAttribute("Uid")>
<TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
<NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
Public Class TimeSpanUpDown 
   Inherits Xceed.Wpf.Toolkit.Primitives.DateTimeUpDownBase(Of Nullable(Of TimeSpan))
   Implements Xceed.Wpf.Toolkit.Core.Input.IValidateInput 
'Usage
 
Dim instance As TimeSpanUpDown
[TemplatePart(Name="PART_TextBox", Type=System.Windows.Controls.TextBox)]
[StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)]
[XmlLangProperty("Language")]
[UsableDuringInitialization(true)]
[RuntimeNameProperty("Name")]
[UidProperty("Uid")]
[TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
[NameScopeProperty("NameScope", System.Windows.NameScope)]
public class TimeSpanUpDown : Xceed.Wpf.Toolkit.Primitives.DateTimeUpDownBase<Nullable<TimeSpan>>, Xceed.Wpf.Toolkit.Core.Input.IValidateInput  
Inheritance Hierarchy

System.Object
   System.Windows.Threading.DispatcherObject
      System.Windows.DependencyObject
         System.Windows.Media.Visual
            System.Windows.UIElement
               System.Windows.FrameworkElement
                  System.Windows.Controls.Control
                     Xceed.Wpf.Toolkit.Primitives.InputBase
                        Xceed.Wpf.Toolkit.Primitives.UpDownBase<T>
                           Xceed.Wpf.Toolkit.Primitives.DateTimeUpDownBase<T>
                              Xceed.Wpf.Toolkit.TimeSpanUpDown
                                 Xceed.Wpf.Toolkit.PropertyGrid.Editors.PropertyGridEditorTimeSpanUpDown

Requirements

See Also

Reference

TimeSpanUpDown Members
Xceed.Wpf.Toolkit Namespace