WinUI | ComponentOne
C1.WinUI.DateTimeEditors Assembly / C1.WinUI.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
    public event EventHandler<PropertyChangedEventArgs<object>> SelectionCommitted
    Event Data

    The event handler receives an argument of type 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