示例#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));
 }