private void ExtendedDatePicker_Unfocused(object sender, FocusEventArgs e) { try { var param = UnFocusedCommandParameter ?? e.IsFocused; if (UnFocusedCommand != null && UnFocusedCommand.CanExecute(param)) { UnFocusedCommand.Execute(param); } } catch (Exception ex) { Debug.WriteLine(ex.Message); } }
private void Bindable_Unfocused(object sender, FocusEventArgs e) { UnFocusedCommand?.Execute(null); }