KeyBinding 생성자

정의

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

오버로드

Name Description
KeyBinding()

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

KeyBinding(ICommand, KeyGesture)

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

KeyBinding(ICommand, Key, ModifierKeys)

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

KeyBinding()

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

public:
 KeyBinding();
public KeyBinding();
Public Sub New ()

추가 정보

적용 대상

KeyBinding(ICommand, KeyGesture)

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

public:
 KeyBinding(System::Windows::Input::ICommand ^ command, System::Windows::Input::KeyGesture ^ gesture);
public KeyBinding(System.Windows.Input.ICommand command, System.Windows.Input.KeyGesture gesture);
new System.Windows.Input.KeyBinding : System.Windows.Input.ICommand * System.Windows.Input.KeyGesture -> System.Windows.Input.KeyBinding
Public Sub New (command As ICommand, gesture As KeyGesture)

매개 변수

command
ICommand

연결할 명령입니다 gesture.

gesture
KeyGesture

연결할 키 조합입니다 command.

예외

command 또는 gesture .입니다 null.

추가 정보

적용 대상

KeyBinding(ICommand, Key, ModifierKeys)

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

public:
 KeyBinding(System::Windows::Input::ICommand ^ command, System::Windows::Input::Key key, System::Windows::Input::ModifierKeys modifiers);
public KeyBinding(System.Windows.Input.ICommand command, System.Windows.Input.Key key, System.Windows.Input.ModifierKeys modifiers);
new System.Windows.Input.KeyBinding : System.Windows.Input.ICommand * System.Windows.Input.Key * System.Windows.Input.ModifierKeys -> System.Windows.Input.KeyBinding
Public Sub New (command As ICommand, key As Key, modifiers As ModifierKeys)

매개 변수

command
ICommand

호출할 명령입니다.

key
Key

연결할 키입니다 command.

modifiers
ModifierKeys

연결할 한정자입니다 command.

추가 정보

적용 대상