Represents a month calendar with an ability to interactively navigate through months and select a specific DateTime value.

Namespace:  C1.Phone.Calendar
Assembly:  C1.Phone.Calendar (in C1.Phone.Calendar.dll)
XMLNS for XAML: Not mapped to an xmlns.

Syntax

C#
[TemplatePartAttribute(Name = "CalendarPresenterGrid", Type = typeof(C1UniformGrid))]
[StyleTypedPropertyAttribute(Property = "DaySlotStyle", StyleTargetType = typeof(DaySlotPresenter))]
[TemplatePartAttribute(Name = "WeekNumbersPresenterGrid", Type = typeof(C1UniformGrid))]
[TemplatePartAttribute(Name = "ContentCopy", Type = typeof(Rectangle))]
[TemplatePartAttribute(Name = "Back", Type = typeof(Storyboard))]
[TemplatePartAttribute(Name = "Forward", Type = typeof(Storyboard))]
[TemplatePartAttribute(Name = "LayoutRoot", Type = typeof(FrameworkElement))]
[TemplatePartAttribute(Name = "DatePicker", Type = typeof(C1DateTimePicker))]
[StyleTypedPropertyAttribute(Property = "DayOfWeekSlotStyle", StyleTargetType = typeof(DayOfWeekSlotPresenter))]
[TemplatePartAttribute(Name = "CalendarPresenter", Type = typeof(C1CalendarPresenter))]
[TemplatePartAttribute(Name = "DaysOfWeekPresenter", Type = typeof(DaysOfWeekPresenter))]
[TemplatePartAttribute(Name = "WeekNumbersPresenter", Type = typeof(WeekNumbersPresenter))]
public class C1Calendar : Control, ICollectionChangedListener
Visual Basic
<TemplatePartAttribute(Name := "CalendarPresenterGrid", Type := GetType(C1UniformGrid))> _
<StyleTypedPropertyAttribute(Property := "DaySlotStyle", StyleTargetType := GetType(DaySlotPresenter))> _
<TemplatePartAttribute(Name := "WeekNumbersPresenterGrid", Type := GetType(C1UniformGrid))> _
<TemplatePartAttribute(Name := "ContentCopy", Type := GetType(Rectangle))> _
<TemplatePartAttribute(Name := "Back", Type := GetType(Storyboard))> _
<TemplatePartAttribute(Name := "Forward", Type := GetType(Storyboard))> _
<TemplatePartAttribute(Name := "LayoutRoot", Type := GetType(FrameworkElement))> _
<TemplatePartAttribute(Name := "DatePicker", Type := GetType(C1DateTimePicker))> _
<StyleTypedPropertyAttribute(Property := "DayOfWeekSlotStyle", StyleTargetType := GetType(DayOfWeekSlotPresenter))> _
<TemplatePartAttribute(Name := "CalendarPresenter", Type := GetType(C1CalendarPresenter))> _
<TemplatePartAttribute(Name := "DaysOfWeekPresenter", Type := GetType(DaysOfWeekPresenter))> _
<TemplatePartAttribute(Name := "WeekNumbersPresenter", Type := GetType(WeekNumbersPresenter))> _
Public Class C1Calendar _
	Inherits Control _
	Implements ICollectionChangedListener
XAML Object Element Usage
<C1Calendar .../>

Inheritance Hierarchy

System..::..Object
  System.Windows..::..DependencyObject
    System.Windows..::..UIElement
      System.Windows..::..FrameworkElement
        System.Windows.Controls..::..Control
          C1.Phone.Calendar..::..C1Calendar

See Also