Gets or sets a DateTime currently selected in control UI. The default value is Today. This is a dependency property.

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

Syntax

C#
[BrowsableAttribute(false)]
public DateTime SelectedDateTime { get; set; }
Visual Basic
<BrowsableAttribute(False)> _
Public Property SelectedDateTime As DateTime
	Get
	Set

Remarks

This property value is related to a VisualInterval from the VisualIntervals collection that is currently selected in control UI. If this property is set to a value that is beyond a currently represented period of time defined by the VisualStartTime and VisualTimeSpan properties, the value of the VisualStartTime property is changed automatically so as to set up a period of time that includes the new SelectedDateTime property value.

You can use this property to bind the control to external controls that provides DateTime navigation, for example, bind it to the SelectedDateTime property of the C1Calendar control.

See Also