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