private static void OnDateConverterChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { ((FXDatePicker)d).DoFormat(); }