WPF Custom RoutedUICommand 사용방법
WPF Custom RoutedUICommand 사용방법 RoutedUICommand는 WPF 애플리케이션에서 재사용 가능한 명령을 정의하는 데 유용합니다.RoutedUICommand 를 이용해 키이벤트를 받아서 처리하는 방법을 알아봅니다.아래는 키보드 Ctrl + e 를 누르면 동작하도록 하는 예시입니다. 1. Custom RoutedUICommand 정의먼저 새로운 RoutedUICommand를 정의합니다.using System.Windows.Input;namespace WPFTest{ public static class CustomCommands { public static readonly RoutedUICommand ExampleCommand = new RoutedUICom..