Since there\'s no button.PerformClick() method in WPF, is there a way to click a WPF button programmatically?
button.PerformClick()
this.PowerButton.RaiseEvent(new RoutedEventArgs(Button.ClickEvent));