Gets or sets the currently selected date. This is a dependency property.

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

Syntax

C#
[TypeConverterAttribute(typeof(DateTimeTypeConverter))]
public DateTime SelectedDate { get; set; }
Visual Basic
<TypeConverterAttribute(GetType(DateTimeTypeConverter))> _
Public Property SelectedDate As DateTime
	Get
	Set
XAML Property Element Usage
<object>
  <object.SelectedDate>
    <DateTime .../>
  </object.SelectedDate>
</object>

Remarks

Changing this property may also change the DisplayDate property value, which in turn will cause a refreshing of the control UI so as to represent an updated month of a year. Use this property when MaxSelectionCount is set to 1.

See Also