The C1DateTimePicker controls allows editing DateTime values.
Allows editing DateTime values.

Namespace:  C1.Silverlight.DateTimeEditors
Assembly:  C1.Silverlight.DateTimeEditors (in C1.Silverlight.DateTimeEditors.dll)

Syntax

C#
[TemplateVisualStateAttribute(Name = "Disabled", GroupName = "CommonStates")]
[TemplatePartAttribute(Name = "Root", Type = typeof(FrameworkElement))]
[TemplateVisualStateAttribute(Name = "Focused", GroupName = "FocusStates")]
[TemplatePartAttribute(Name = "DatePicker", Type = typeof(C1DatePicker))]
[TemplateVisualStateAttribute(Name = "Unfocused", GroupName = "FocusStates")]
[TemplateVisualStateAttribute(Name = "Valid", GroupName = "ValidationStatesStates")]
[TemplateVisualStateAttribute(Name = "InvalidFocused", GroupName = "ValidationStatesStates")]
[TemplateVisualStateAttribute(Name = "Normal", GroupName = "CommonStates")]
[TemplateVisualStateAttribute(Name = "InvalidUnfocused", GroupName = "ValidationStatesStates")]
[TemplateVisualStateAttribute(Name = "MouseOver", GroupName = "CommonStates")]
[StyleTypedPropertyAttribute(Property = "ValidationDecoratorStyle", StyleTargetType = typeof(C1ValidationDecorator))]
[TemplatePartAttribute(Name = "TimeEditor", Type = typeof(C1TimeEditor))]
public class C1DateTimePicker : Control
Visual Basic
<TemplateVisualStateAttribute(Name := "Disabled", GroupName := "CommonStates")> _
<TemplatePartAttribute(Name := "Root", Type := GetType(FrameworkElement))> _
<TemplateVisualStateAttribute(Name := "Focused", GroupName := "FocusStates")> _
<TemplatePartAttribute(Name := "DatePicker", Type := GetType(C1DatePicker))> _
<TemplateVisualStateAttribute(Name := "Unfocused", GroupName := "FocusStates")> _
<TemplateVisualStateAttribute(Name := "Valid", GroupName := "ValidationStatesStates")> _
<TemplateVisualStateAttribute(Name := "InvalidFocused", GroupName := "ValidationStatesStates")> _
<TemplateVisualStateAttribute(Name := "Normal", GroupName := "CommonStates")> _
<TemplateVisualStateAttribute(Name := "InvalidUnfocused", GroupName := "ValidationStatesStates")> _
<TemplateVisualStateAttribute(Name := "MouseOver", GroupName := "CommonStates")> _
<StyleTypedPropertyAttribute(Property := "ValidationDecoratorStyle", StyleTargetType := GetType(C1ValidationDecorator))> _
<TemplatePartAttribute(Name := "TimeEditor", Type := GetType(C1TimeEditor))> _
Public Class C1DateTimePicker _
	Inherits Control

Inheritance Hierarchy

System..::..Object
  System.Windows..::..DependencyObject
    System.Windows..::..UIElement
      System.Windows..::..FrameworkElement
        System.Windows.Controls..::..Control
          C1.Silverlight.DateTimeEditors..::..C1DateTimePicker

See Also