/// <summary> /// Executes the command /// </summary> /// <param name="parameter">The parameter.</param> public virtual void Execute(object parameter) { if (RaiseCanExecute(parameter)) { if (Executed != null) { var e = new ExecutedEventArgs(this, parameter); Executed(this, e); } } }
private void ClosePopupCommand_Executed(object sender, ExecutedEventArgs e) { HideBalloon(); }