2 types derived from InputBinding
PresentationCore (2)
Core\CSharp\System\Windows\Input\Command\KeyBinding.cs (1)
39
public class KeyBinding :
InputBinding
Core\CSharp\System\Windows\Input\Command\MouseBinding.cs (1)
39
public class MouseBinding :
InputBinding
17 instantiations of InputBinding
PresentationCore (1)
Core\CSharp\System\Windows\Input\Command\InputBinding.cs (1)
230
return new
InputBinding
();
PresentationFramework (16)
src\Framework\MS\Internal\Commands\CommandHelpers.cs (1)
117
CommandManager.RegisterClassInputBinding(controlType, new
InputBinding
(command, inputGestures[i]));
src\Framework\System\Windows\Controls\DataGrid.cs (2)
61
CommandManager.RegisterClassInputBinding(ownerType, new
InputBinding
(BeginEditCommand, new KeyGesture(Key.F2)));
66
CommandManager.RegisterClassInputBinding(ownerType, new
InputBinding
(CancelEditCommand, new KeyGesture(Key.Escape)));
src\Framework\System\Windows\Controls\DocumentViewer.cs (3)
1730
new
InputBinding
(NavigationCommands.Zoom,
1740
new
InputBinding
(DocumentViewer.FitToMaxPagesAcrossCommand,
1750
new
InputBinding
(DocumentViewer.FitToMaxPagesAcrossCommand,
src\Framework\System\Windows\Controls\SinglePageViewer.cs (10)
1280
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new
InputBinding
(NavigationCommands.PreviousPage, new KeyGesture(Key.Left)));
1281
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new
InputBinding
(NavigationCommands.PreviousPage, new KeyGesture(Key.Up)));
1282
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new
InputBinding
(NavigationCommands.PreviousPage, new KeyGesture(Key.PageUp)));
1283
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new
InputBinding
(NavigationCommands.NextPage, new KeyGesture(Key.Right)));
1284
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new
InputBinding
(NavigationCommands.NextPage, new KeyGesture(Key.Down)));
1285
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new
InputBinding
(NavigationCommands.NextPage, new KeyGesture(Key.PageDown)));
1286
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new
InputBinding
(NavigationCommands.FirstPage, new KeyGesture(Key.Home)));
1287
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new
InputBinding
(NavigationCommands.FirstPage, new KeyGesture(Key.Home, ModifierKeys.Control)));
1288
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new
InputBinding
(NavigationCommands.LastPage, new KeyGesture(Key.End)));
1289
CommandManager.RegisterClassInputBinding(typeof(FlowDocumentPageViewer), new
InputBinding
(NavigationCommands.LastPage, new KeyGesture(Key.End, ModifierKeys.Control)));
51 references to InputBinding
PresentationCore (42)
Core\CSharp\System\Windows\Input\Command\CommandManager.cs (3)
242
public static void RegisterClassInputBinding(Type type,
InputBinding
inputBinding)
379
InputBinding
inputBinding = localInputBindings.FindMatch(targetElement, inputEventArgs);
399
InputBinding
inputBinding = classInputBindings.FindMatch(targetElement, inputEventArgs);
Core\CSharp\System\Windows\Input\Command\InputBinding.cs (9)
73
DependencyProperty.Register("Command", typeof(ICommand), typeof(
InputBinding
), new UIPropertyMetadata(null, new PropertyChangedCallback(OnCommandPropertyChanged)));
108
InputBinding
inputBinding = (
InputBinding
)d;
116
DependencyProperty.Register("CommandParameter", typeof(object), typeof(
InputBinding
));
137
DependencyProperty.Register("CommandTarget", typeof(IInputElement), typeof(
InputBinding
));
239
_gesture = ((
InputBinding
)sourceFreezable).Gesture;
248
_gesture = ((
InputBinding
)sourceFreezable).Gesture;
257
_gesture = ((
InputBinding
)sourceFreezable).Gesture;
266
_gesture = ((
InputBinding
)sourceFreezable).Gesture;
Core\CSharp\System\Windows\Input\Command\InputBindingCollection.cs (30)
107
return this.Contains(key as
InputBinding
);
117
InputBinding
inputBinding = value as
InputBinding
;
128
this.Insert(index, value as
InputBinding
);
137
this.Add(inputBinding as
InputBinding
);
147
this.Remove(inputBinding as
InputBinding
);
161
InputBinding
inputBinding = value as
InputBinding
;
173
public
InputBinding
this[int index]
199
InputBinding
oldInputBinding = null;
222
public int Add(
InputBinding
inputBinding)
227
_innerBindingList = new System.Collections.Generic.List<
InputBinding
>(1);
258
public int IndexOf(
InputBinding
value)
279
_innerBindingList = new System.Collections.Generic.List<
InputBinding
>(collection.Count);
284
InputBinding
inputBinding = collectionEnum.Current as
InputBinding
;
303
public void Insert(int index,
InputBinding
inputBinding)
321
public void Remove(
InputBinding
inputBinding)
325
if (_innerBindingList.Remove(inputBinding as
InputBinding
))
340
InputBinding
oldInputBinding = null;
390
List<
InputBinding
> oldInputBindings = new List<
InputBinding
>(_innerBindingList);
393
foreach (
InputBinding
inputBinding in oldInputBindings)
410
System.Collections.Generic.List<
InputBinding
> list = new System.Collections.Generic.List<
InputBinding
>(0);
428
public bool Contains(
InputBinding
key)
443
public void CopyTo(
InputBinding
[] inputBindings, int index)
454
internal
InputBinding
FindMatch(object targetElement, InputEventArgs inputEventArgs)
458
InputBinding
inputBinding = this[i];
486
private List<
InputBinding
> _innerBindingList;
PresentationFramework (9)
src\Framework\System\Windows\Controls\DocumentViewer.cs (3)
1729
InputBinding
zoom100InputBinding =
1739
InputBinding
wholePageInputBinding =
1749
InputBinding
twoPagesInputBinding =
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
385
case 293: t = () => typeof(
InputBinding
); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
7307
Type type = typeof(System.Windows.Input.
InputBinding
);
7308
DependencyProperty dp = System.Windows.Input.
InputBinding
.CommandProperty;
7310
this.GetXamlType(typeof(System.Windows.Input.
InputBinding
)), // DeclaringType
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5424
typeof(System.Windows.Input.
InputBinding
),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5837
case KnownElements.InputBinding: t = typeof(System.Windows.Input.
InputBinding
); break;