ComponentOne DateTimeEditors for UWP
C1.UWP.DateTimeEditors Assembly / C1.Xaml.DateTimeEditors Namespace / C1DateTimePicker Class / SelectionCommitted Event

In This Topic
    SelectionCommitted Event (C1DateTimePicker)
    In This Topic
    The SelectionCommitted event is fired when the new DateTime property value is committed.
    Syntax
    'Declaration
     
    Public Event SelectionCommitted As System.EventHandler(Of PropertyChangedEventArgs(Of Object))
    public event System.EventHandler<PropertyChangedEventArgs<object>> SelectionCommitted
    Event Data

    The event handler receives an argument of type C1.Xaml.PropertyChangedEventArgs<T> containing data related to this event. The following PropertyChangedEventArgs<T> properties provide information specific to this event.

    PropertyDescription
    The value of the property after the change.  
    The value of the property before the change.  
    Remarks
    It's possible, that DateTime property is changed while end-user works with drop-down calendar using keyboard. In such case DateTimeChanged event might be fired many times. SelectionCommitted event is fired only once at closing drop-down calendar. When DateTime property is changed without using drop-down calendar, SelectionCommitted and DateTimeChanged events are fired one by one.
    See Also