WPF KeyGesture 사용해 키 이벤트 처리하기
WPF KeyGesture 사용해 키 이벤트 처리하기 KeyGesture 를 이용하면 특정 키입력 시 이벤트 처리를 할수 있습니다.아래는 Ctrl과 X를 동시에 눌렀을 경우 팝업을 띄우는 예제입니다.using System.Windows;using System.Windows.Input; namespace WpfApp{ /// /// MainWindow.xaml에 대한 상호 작용 논리 /// public partial class MainWindow : Window { KeyGesture gestCut = new KeyGesture(Key.X, ModifierKeys.Control); public MainWindow() { ..