Пример #1
0
        private static void OnFormatStringChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            DateTimeUpDown dateTimeUpDown = o as DateTimeUpDown;

            if (dateTimeUpDown != null)
            {
                dateTimeUpDown.OnFormatStringChanged((string)e.OldValue, (string)e.NewValue);
            }
        }
Пример #2
0
 private static bool IsTimeFormatStringValid(object value)
 {
     return(DateTimeUpDown.IsFormatStringValid(value));
 }
Пример #3
0
 internal static bool IsFormatStringValid(object value)
 {
     return(DateTimeUpDown.IsFormatStringValid(value));
 }