示例#1
0
        private static void OnTimeFormatPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            FormsTimePicker element = d as FormsTimePicker;

            if (element == null)
            {
                return;
            }

            element.OnTimeFormatChanged();
        }
示例#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?);
        }