Occurs when the SelectedDate property is changed.
Assembly: System.Windows.Controls (in System.Windows.Controls.dll)
'Updates a TextBlock with information from the SelectedDateChanged event. Private Sub dp2_SelectedDateChanged(ByVal sender As Object, ByVal e As SelectionChangedEventArgs) Handles dp2.SelectedDateChanged 'RemovedItems will be null if this is the first time a date was selected. If e.RemovedItems Is Nothing OrElse e.RemovedItems.Count = 0 Then text1.Text = "Changed SelectedDate from nothing to " + e.AddedItems(0) + "!" Else text1.Text = "Changed SelectedDate from " + e.RemovedItems(0) + " to " + e.AddedItems(0) + "!" End If End Sub
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.