CommandBinding 생성자

정의

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 처리기입니다.

적용 대상