CommandBinding 생성자

정의

CommandBinding 클래스의 새 인스턴스를 초기화합니다.

오버로드

CommandBinding()

CommandBinding 클래스의 새 인스턴스를 초기화합니다.

CommandBinding(ICommand)

지정된 CommandBinding을 사용하여 ICommand 클래스의 새 인스턴스를 초기화합니다.

CommandBinding(ICommand, ExecutedRoutedEventHandler)

지정된 CommandBindingICommand 이벤트 처리기를 사용하여 Executed 클래스의 새 인스턴스를 초기화합니다.

CommandBinding(ICommand, ExecutedRoutedEventHandler, CanExecuteRoutedEventHandler)

지정된 CommandBinding와 지정된 ICommandExecuted 이벤트 처리기를 사용하여 CanExecute 클래스의 새 인스턴스를 초기화합니다.

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)

지정된 CommandBindingICommand 이벤트 처리기를 사용하여 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

ExecutedRoutedCommand 이벤트에 대한 처리기입니다.

적용 대상

CommandBinding(ICommand, ExecutedRoutedEventHandler, CanExecuteRoutedEventHandler)

지정된 CommandBinding와 지정된 ICommandExecuted 이벤트 처리기를 사용하여 CanExecute 클래스의 새 인스턴스를 초기화합니다.

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

ExecutedRoutedCommand 이벤트에 대한 처리기입니다.

canExecute
CanExecuteRoutedEventHandler

CanExecuteRoutedCommand 이벤트에 대한 처리기입니다.

적용 대상