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);
            }
        }
示例#2
0
 private void Bindable_Unfocused(object sender, FocusEventArgs e)
 {
     UnFocusedCommand?.Execute(null);
 }