Telerik UI for Windows Phone by Progress

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

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Input (in Telerik.Windows.Controls.Input.dll) Version: 2013.1.422.2040 (2013.1.0422.2040)


public Nullable<DateTime> SelectedValue { get; set; }
Visual Basic
Public Property SelectedValue As Nullable(Of DateTime)
Visual C++
property Nullable<DateTime> SelectedValue {
	Nullable<DateTime> get ();
	void set (Nullable<DateTime> value);


The SelectedValue property identifies the last date that has been selected.

Setting the SelectedValue property to null would deselect any selection. The default value is null.

Selecting a date fires the SelectedValue event. An example about handling events is provided below.

Please note that the user would not be able to select dates outside the SelctdableDates range defined by the SelectableDateStart and SelectableDateEnd properties. Setting a date outside this range in code would result in an ArgumentOutOfRangeException.

Note that all DateTime properties of the RadCalendar discard the time of the DateTime object, i.e. the time is coerced to 0:0:0.

See Also