DelegateCommand는 System.Windows.Input.Command 인터페이스를 구현하여 ViewModel에서 Command(명령)을 만드는 데 사용할 수 있다. DelegateCommand는 명령의 Execute 및 CanExecute 논리가 호출될 때 명령에 할당한 메서드(대리자)를 호출한다.
DelegateCommand 형식 DelegateCommand : Execute 및 CanExecute 대리자가 T 형식의 단일 매개 변수를 허용하는 명령을 지정한다. DelegateCommand : Execute 및 CanExecute 대리자에 매개 변수가 없는 명령을 지정한다. ※ 두 형식 모두 Execute 대리자를 수락하는 생성자와 Execute 및 CanExecute 대리자를 수락하는 생성자를 지원한다.
DelegateCommand 생성 및 사용 DelegateCommandViewModel.cs class DelegateCommandViewModel : View...
#
Command
#
CommandManager
#
DelegateCommand
#
DevExpress
#
useCommandManager
#
WPF
#
데브익스프레스
#
명령