ComponentOne Scheduler for WPF and Silverlight
SelectedDateTime Property (C1Scheduler)

C1.WPF.Schedule Namespace > C1Scheduler Class : SelectedDateTime Property
Gets or sets a DateTime currently selected in control UI. The default value is System.DateTime.Today. This is a dependency property.
Syntax
'Declaration
 
Public Property SelectedDateTime As System.Date
public System.DateTime SelectedDateTime {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

Reference

C1Scheduler Class
C1Scheduler Members