KeyBinding 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
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
- MouseBinding
- RoutedCommand
- CommandBinding
- KeyGesture
- MouseGesture
- InputGesture
- InputBinding
적용 대상
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
- MouseBinding
- RoutedCommand
- CommandBinding
- KeyGesture
- MouseGesture
- InputGesture
- InputBinding
적용 대상
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.
추가 정보
- KeyBinding
- MouseBinding
- RoutedCommand
- CommandBinding
- KeyGesture
- MouseGesture
- InputGesture
- InputBinding