public void RaiseActivated() { //if (RefreshCommand.CanExecute(null)) //{ // RefreshCommand.Execute(null); //} if (this.Activated != null) { Activated(this, new EventArgs()); } }