KeyBinding 생성자

정의

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

오버로드

KeyBinding()

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

KeyBinding(ICommand, KeyGesture)

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

KeyBinding(ICommand, Key, ModifierKeys)

지정된 KeyBindingICommand로 변환될 지정된 KeyModifierKeys를 사용하여 KeyGesture 클래스의 새 인스턴스를 초기화합니다.

KeyBinding()

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

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

추가 정보

적용 대상

KeyBinding(ICommand, KeyGesture)

지정된 KeyBindingICommand를 사용하여 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 또는 gesturenull인 경우

추가 정보

적용 대상

KeyBinding(ICommand, Key, ModifierKeys)

지정된 KeyBindingICommand로 변환될 지정된 KeyModifierKeys를 사용하여 KeyGesture 클래스의 새 인스턴스를 초기화합니다.

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와 연결할 보조키입니다.

추가 정보

적용 대상