WPF의 InputBinding 이해하기: MouseBinding과 KeyBinding 활용
이전 문서에서는 WPF 명령 시스템의 일부를 살펴보았습니다. 여기서는 CommandBinding과 데이터 바인딩 두 가지 방법으로 Button 컨트롤에 명령(ICommand)을 연결하는 방법을 소개했습니다.
예제 1. CommandBinding 사용
<Window.Resources>
<RoutedCommand x:Key="CustomCommand"/>
</Window.Resources>
<Window.CommandBindings>
...
7월 3일 18:59에 게시됨