Wpf Mouse Click Event Trigger, whatever code you write in the click event handler that will be executed on the Button click.