Ejemplo n.º 1
0
        private static void OnEndTimeChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            PeriodPicker timePicker = o as PeriodPicker;

            if (timePicker != null)
            {
                timePicker.OnEndTimeChanged((Period)e.OldValue, (Period)e.NewValue);
            }
        }
Ejemplo n.º 2
0
        private static void OnFormatStringChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            PeriodPicker timePicker = o as PeriodPicker;

            if (timePicker != null)
            {
                timePicker.OnFormatStringChanged((string)e.OldValue, (string)e.NewValue);
            }
        }
Ejemplo n.º 3
0
        private static object OnCoerceEndTime(DependencyObject o, object value)
        {
            PeriodPicker timePicker = o as PeriodPicker;

            if (timePicker != null)
            {
                return(timePicker.OnCoerceEndTime((Period)value));
            }
            else
            {
                return(value);
            }
        }