/// <summary> /// Handler for mouse down on Left Trigger /// </summary> /// <param name="sender">Originating UI element for this event</param> /// <param name="e">mouse button event args</param> private void PressLeftTrigger_MouseDown(object sender, MouseButtonEventArgs e) { VirtualControllerViewModel viewModel = this.DataContext as VirtualControllerViewModel; viewModel.PressLeftTrigger(); }