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