Exemplo n.º 1
0
        private static void OnTimeFormatPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            FormsTimePicker element = d as FormsTimePicker;

            if (element == null)
            {
                return;
            }

            element.OnTimeFormatChanged();
        }
Exemplo n.º 2
0
        private static void OnTimePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            FormsTimePicker element = d as FormsTimePicker;

            if (element == null)
            {
                return;
            }

            element.OnTimeChanged(e.OldValue as TimeSpan?, e.NewValue as TimeSpan?);
        }