CommandBinding 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
CommandBinding 클래스의 새 인스턴스를 초기화합니다.
오버로드
| Name | Description |
|---|---|
| CommandBinding() |
CommandBinding 클래스의 새 인스턴스를 초기화합니다. |
| CommandBinding(ICommand) |
지정된 클래스를 사용하여 클래스의 CommandBinding 새 인스턴스를 초기화합니다 ICommand. |
| CommandBinding(ICommand, ExecutedRoutedEventHandler) |
지정된 이벤트 처리기와 지정된 CommandBinding 이벤트 처리기를 사용하여 클래스의 ICommand 새 인스턴스를 Executed 초기화합니다. |
| CommandBinding(ICommand, ExecutedRoutedEventHandler, CanExecuteRoutedEventHandler) |
지정된 처리기와 지정된 CommandBinding 이벤트 처리기를 사용하여 클래스의 ICommand 새 인스턴스를 ExecutedCanExecute 초기화합니다. |
CommandBinding()
CommandBinding 클래스의 새 인스턴스를 초기화합니다.
public:
CommandBinding();
public CommandBinding();
Public Sub New ()
추가 정보
적용 대상
CommandBinding(ICommand)
지정된 클래스를 사용하여 클래스의 CommandBinding 새 인스턴스를 초기화합니다 ICommand.
public:
CommandBinding(System::Windows::Input::ICommand ^ command);
public CommandBinding(System.Windows.Input.ICommand command);
new System.Windows.Input.CommandBinding : System.Windows.Input.ICommand -> System.Windows.Input.CommandBinding
Public Sub New (command As ICommand)
매개 변수
- command
- ICommand
새 RoutedCommand 키를 기반으로 하는 명령입니다.
적용 대상
CommandBinding(ICommand, ExecutedRoutedEventHandler)
지정된 이벤트 처리기와 지정된 CommandBinding 이벤트 처리기를 사용하여 클래스의 ICommand 새 인스턴스를 Executed 초기화합니다.
public:
CommandBinding(System::Windows::Input::ICommand ^ command, System::Windows::Input::ExecutedRoutedEventHandler ^ executed);
public CommandBinding(System.Windows.Input.ICommand command, System.Windows.Input.ExecutedRoutedEventHandler executed);
new System.Windows.Input.CommandBinding : System.Windows.Input.ICommand * System.Windows.Input.ExecutedRoutedEventHandler -> System.Windows.Input.CommandBinding
Public Sub New (command As ICommand, executed As ExecutedRoutedEventHandler)
매개 변수
- command
- ICommand
새 RoutedCommand 키를 기반으로 하는 명령입니다.
- executed
- ExecutedRoutedEventHandler
새 Executed이벤트에 대한 RoutedCommand 처리기입니다.
적용 대상
CommandBinding(ICommand, ExecutedRoutedEventHandler, CanExecuteRoutedEventHandler)
지정된 처리기와 지정된 CommandBinding 이벤트 처리기를 사용하여 클래스의 ICommand 새 인스턴스를 ExecutedCanExecute 초기화합니다.
public:
CommandBinding(System::Windows::Input::ICommand ^ command, System::Windows::Input::ExecutedRoutedEventHandler ^ executed, System::Windows::Input::CanExecuteRoutedEventHandler ^ canExecute);
public CommandBinding(System.Windows.Input.ICommand command, System.Windows.Input.ExecutedRoutedEventHandler executed, System.Windows.Input.CanExecuteRoutedEventHandler canExecute);
new System.Windows.Input.CommandBinding : System.Windows.Input.ICommand * System.Windows.Input.ExecutedRoutedEventHandler * System.Windows.Input.CanExecuteRoutedEventHandler -> System.Windows.Input.CommandBinding
Public Sub New (command As ICommand, executed As ExecutedRoutedEventHandler, canExecute As CanExecuteRoutedEventHandler)
매개 변수
- command
- ICommand
새 RoutedCommand 키를 기반으로 하는 명령입니다.
- executed
- ExecutedRoutedEventHandler
새 Executed이벤트에 대한 RoutedCommand 처리기입니다.
- canExecute
- CanExecuteRoutedEventHandler
새 CanExecute이벤트에 대한 RoutedCommand 처리기입니다.