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


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit Namespace : DateTimePicker Class
Represents a control that allows the user to select a date and a time.
Syntax
'Declaration
 
<TemplatePartAttribute(Name="PART_Calendar", Type=System.Windows.Controls.Calendar)>
<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 DateTimePicker 
   Inherits Xceed.Wpf.Toolkit.Primitives.DateTimePickerBase
   Implements Xceed.Wpf.Toolkit.Core.Input.IValidateInput 
'Usage
 
Dim instance As DateTimePicker
[TemplatePart(Name="PART_Calendar", Type=System.Windows.Controls.Calendar)]
[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 DateTimePicker : Xceed.Wpf.Toolkit.Primitives.DateTimePickerBase, Xceed.Wpf.Toolkit.Core.Input.IValidateInput  
Remarks

The user can increment or decrement the DateTime using button spinners, up/down keys, or the mouse wheel, or can modify the DateTime in the dropdown calendar.

As in the Microsoft equivalent, you can navigate by more than one month at a time by clicking on the middle of the header.

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.DateTimeUpDown
                                 Xceed.Wpf.Toolkit.Primitives.DateTimePickerBase
                                    Xceed.Wpf.Toolkit.DateTimePicker

Requirements

See Also

Reference

DateTimePicker Members
Xceed.Wpf.Toolkit Namespace