1 interface inheriting from ICommand
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Input\IPreviewCommand.cs (1)
12
public interface IPreviewCommand :
ICommand
4 implementations of ICommand
Microsoft.Maui.Controls (1)
Command.cs (1)
64
public class Command :
ICommand
Microsoft.VisualStudio.LanguageServices (1)
Utilities\DelegateCommand.cs (1)
10
internal sealed class DelegateCommand :
ICommand
PresentationCore (1)
System\Windows\Input\Command\RoutedCommand.cs (1)
15
public class RoutedCommand :
ICommand
System.Windows.Forms.Tests (1)
System\Windows\Forms\Mocks\DataBinding\RelayCommand.cs (1)
10
public class RelayCommand : Input.
ICommand
304 references to ICommand
Microsoft.Maui.Controls (147)
Button\Button.cs (2)
191
public
ICommand
Command
193
get { return (
ICommand
)GetValue(CommandProperty); }
Button\ButtonElement.cs (1)
14
nameof(IButtonElement.Command), typeof(
ICommand
), typeof(IButtonElement), null,
Cells\TextCell.cs (8)
12
public static readonly BindableProperty CommandProperty = BindableProperty.Create(nameof(Command), typeof(
ICommand
), typeof(TextCell), default(
ICommand
),
16
var
oldcommand = (
ICommand
)oldvalue;
22
var
newcommand = (
ICommand
)newvalue;
54
public
ICommand
Command
56
get { return (
ICommand
)GetValue(CommandProperty); }
ClickGestureRecognizer.cs (4)
13
public static readonly BindableProperty CommandProperty = BindableProperty.Create(nameof(Command), typeof(
ICommand
), typeof(ClickGestureRecognizer), null);
30
public
ICommand
Command
32
get { return (
ICommand
)GetValue(CommandProperty); }
63
ICommand
cmd = Command;
CommandElement.cs (2)
13
if (o is
ICommand
oldCommand)
20
if (n is
ICommand
newCommand)
DragAndDrop\DragGestureRecognizer.cs (6)
17
public static readonly BindableProperty DropCompletedCommandProperty = BindableProperty.Create(nameof(DropCompletedCommand), typeof(
ICommand
), typeof(DragGestureRecognizer), null);
23
public static readonly BindableProperty DragStartingCommandProperty = BindableProperty.Create(nameof(DragStartingCommand), typeof(
ICommand
), typeof(DragGestureRecognizer), null);
61
public
ICommand
DropCompletedCommand
63
get { return (
ICommand
)GetValue(DropCompletedCommandProperty); }
79
public
ICommand
DragStartingCommand
81
get { return (
ICommand
)GetValue(DragStartingCommandProperty); }
DragAndDrop\DropGestureRecognizer.cs (9)
18
public static readonly BindableProperty DragOverCommandProperty = BindableProperty.Create(nameof(DragOverCommand), typeof(
ICommand
), typeof(DropGestureRecognizer), null);
24
public static readonly BindableProperty DragLeaveCommandProperty = BindableProperty.Create(nameof(DragLeaveCommand), typeof(
ICommand
), typeof(DropGestureRecognizer), null);
30
public static readonly BindableProperty DropCommandProperty = BindableProperty.Create(nameof(DropCommand), typeof(
ICommand
), typeof(DragGestureRecognizer), null);
52
public
ICommand
DragOverCommand
54
get { return (
ICommand
)GetValue(DragOverCommandProperty); }
65
public
ICommand
DragLeaveCommand
67
get { return (
ICommand
)GetValue(DragLeaveCommandProperty); }
79
public
ICommand
DropCommand
81
get { return (
ICommand
)GetValue(DropCommandProperty); }
Entry\Entry.cs (4)
22
public static readonly BindableProperty ReturnCommandProperty = BindableProperty.Create(nameof(ReturnCommand), typeof(
ICommand
), typeof(Entry), default(
ICommand
));
141
public
ICommand
ReturnCommand
143
get => (
ICommand
)GetValue(ReturnCommandProperty);
ICommandElement.cs (1)
10
ICommand
? Command { get; }
ImageButton\ImageButton.cs (2)
109
public
ICommand
Command
111
get { return (
ICommand
)GetValue(CommandProperty); }
ISwipeItem.cs (1)
10
ICommand
Command { get; set; }
Items\CarouselView.cs (8)
102
BindableProperty.Create(nameof(CurrentItemChangedCommand), typeof(
ICommand
), typeof(CarouselView));
116
public
ICommand
CurrentItemChangedCommand
118
get => (
ICommand
)GetValue(CurrentItemChangedCommandProperty);
135
var
command = carouselView.CurrentItemChangedCommand;
159
BindableProperty.Create(nameof(PositionChangedCommand), typeof(
ICommand
), typeof(CarouselView));
174
public
ICommand
PositionChangedCommand
176
get => (
ICommand
)GetValue(PositionChangedCommandProperty);
247
var
command = carousel.PositionChangedCommand;
Items\ItemsView.cs (3)
56
BindableProperty.Create(nameof(RemainingItemsThresholdReachedCommand), typeof(
ICommand
), typeof(ItemsView), null);
59
public
ICommand
RemainingItemsThresholdReachedCommand
61
get => (
ICommand
)GetValue(RemainingItemsThresholdReachedCommandProperty);
Items\SelectableItemsView.cs (4)
32
BindableProperty.Create(nameof(SelectionChangedCommand), typeof(
ICommand
), typeof(SelectableItemsView));
63
public
ICommand
SelectionChangedCommand
65
get => (
ICommand
)GetValue(SelectionChangedCommandProperty);
154
var
command = selectableItemsView.SelectionChangedCommand;
ListView\ListView.cs (10)
34
public static readonly BindableProperty RefreshCommandProperty = BindableProperty.Create(nameof(RefreshCommand), typeof(
ICommand
), typeof(ListView), null, propertyChanged: OnRefreshCommandChanged);
240
public
ICommand
RefreshCommand
242
get { return (
ICommand
)GetValue(RefreshCommandProperty); }
364
ICommand
command = RefreshCommand;
709
var
oldCommand = (
ICommand
)oldValue;
710
var
command = (
ICommand
)newValue;
715
void OnRefreshCommandChanged(
ICommand
oldCommand,
ICommand
newCommand)
Menu\MenuItem.cs (3)
20
nameof(Command), typeof(
ICommand
), typeof(MenuItem), null,
64
public
ICommand
Command
66
get => (
ICommand
)GetValue(CommandProperty);
PointerGestureRecognizer.cs (20)
16
public static readonly BindableProperty PointerEnteredCommandProperty = BindableProperty.Create(nameof(PointerEnteredCommand), typeof(
ICommand
), typeof(PointerGestureRecognizer), null);
26
public static readonly BindableProperty PointerExitedCommandProperty = BindableProperty.Create(nameof(PointerExitedCommand), typeof(
ICommand
), typeof(PointerGestureRecognizer), null);
36
public static readonly BindableProperty PointerMovedCommandProperty = BindableProperty.Create(nameof(PointerMovedCommand), typeof(
ICommand
), typeof(PointerGestureRecognizer), null);
46
public static readonly BindableProperty PointerPressedCommandProperty = BindableProperty.Create(nameof(PointerPressedCommand), typeof(
ICommand
), typeof(PointerGestureRecognizer), null);
56
public static readonly BindableProperty PointerReleasedCommandProperty = BindableProperty.Create(nameof(PointerReleasedCommand), typeof(
ICommand
), typeof(PointerGestureRecognizer), null);
99
public
ICommand
PointerEnteredCommand
101
get { return (
ICommand
)GetValue(PointerEnteredCommandProperty); }
117
public
ICommand
PointerExitedCommand
119
get { return (
ICommand
)GetValue(PointerExitedCommandProperty); }
135
public
ICommand
PointerMovedCommand
137
get { return (
ICommand
)GetValue(PointerMovedCommandProperty); }
153
public
ICommand
PointerPressedCommand
155
get { return (
ICommand
)GetValue(PointerPressedCommandProperty); }
171
public
ICommand
PointerReleasedCommand
173
get { return (
ICommand
)GetValue(PointerReleasedCommandProperty); }
191
ICommand
cmd = PointerEnteredCommand;
204
ICommand
cmd = PointerExitedCommand;
217
ICommand
cmd = PointerMovedCommand;
230
ICommand
cmd = PointerPressedCommand;
243
ICommand
cmd = PointerReleasedCommand;
RefreshView\RefreshView.cs (4)
74
BindableProperty.Create(nameof(Command), typeof(
ICommand
), typeof(RefreshView),
80
public
ICommand
Command
82
get { return (
ICommand
)GetValue(CommandProperty); }
118
ICommand
ICommandElement.Command => Command;
SearchBar\SearchBar.cs (5)
18
nameof(SearchCommand), typeof(
ICommand
), typeof(SearchBar), null,
97
public
ICommand
SearchCommand
99
get { return (
ICommand
)GetValue(SearchCommandProperty); }
118
ICommand
ICommandElement.Command => SearchCommand;
132
ICommand
cmd = SearchCommand;
Shell\BackButtonBehavior.cs (9)
17
BindableProperty.Create(nameof(Command), typeof(
ICommand
), typeof(BackButtonBehavior), null, BindingMode.OneTime,
37
public
ICommand
Command
39
get { return (
ICommand
)GetValue(CommandProperty); }
82
var
oldCommand = (
ICommand
)oldValue;
83
var
newCommand = (
ICommand
)newValue;
97
void OnCommandChanged(
ICommand
oldCommand,
ICommand
newCommand)
Shell\SearchHandler.cs (20)
332
BindableProperty.Create(nameof(ClearPlaceholderCommand), typeof(
ICommand
), typeof(SearchHandler), null, BindingMode.OneTime,
361
BindableProperty.Create(nameof(Command), typeof(
ICommand
), typeof(SearchHandler), null, BindingMode.OneTime,
447
public
ICommand
ClearPlaceholderCommand
449
get { return (
ICommand
)GetValue(ClearPlaceholderCommandProperty); }
489
public
ICommand
Command
491
get { return (
ICommand
)GetValue(CommandProperty); }
582
var
command = ClearPlaceholderCommand;
600
var
command = Command;
611
var
oldCommand = (
ICommand
)oldValue;
612
var
newCommand = (
ICommand
)newValue;
624
var
oldCommand = (
ICommand
)oldValue;
625
var
newCommand = (
ICommand
)newValue;
669
void OnClearPlaceholderCommandChanged(
ICommand
oldCommand,
ICommand
newCommand)
693
void OnCommandChanged(
ICommand
oldCommand,
ICommand
newCommand)
Shell\Shell.cs (2)
1523
var
command = backButtonBehavior.GetPropertyIfSet<
ICommand
>(BackButtonBehavior.CommandProperty, null);
Slider\Slider.cs (8)
53
public static readonly BindableProperty DragStartedCommandProperty = BindableProperty.Create(nameof(DragStartedCommand), typeof(
ICommand
), typeof(Slider), default(
ICommand
));
56
public static readonly BindableProperty DragCompletedCommandProperty = BindableProperty.Create(nameof(DragCompletedCommand), typeof(
ICommand
), typeof(Slider), default(
ICommand
));
114
public
ICommand
DragStartedCommand
116
get { return (
ICommand
)GetValue(DragStartedCommandProperty); }
121
public
ICommand
DragCompletedCommand
123
get { return (
ICommand
)GetValue(DragCompletedCommandProperty); }
SwipeGestureRecognizer.cs (4)
16
public static readonly BindableProperty CommandProperty = BindableProperty.Create(nameof(Command), typeof(
ICommand
), typeof(SwipeGestureRecognizer), null);
28
public
ICommand
Command
30
get { return (
ICommand
)GetValue(CommandProperty); }
117
ICommand
cmd = Command;
SwipeView\SwipeItemView.cs (3)
13
public static readonly BindableProperty CommandProperty = BindableProperty.Create(nameof(Command), typeof(
ICommand
), typeof(SwipeItemView), null,
22
public
ICommand
Command
24
get => (
ICommand
)GetValue(CommandProperty);
TapGestureRecognizer.cs (4)
11
public static readonly BindableProperty CommandProperty = BindableProperty.Create(nameof(Command), typeof(
ICommand
), typeof(TapGestureRecognizer), null);
28
public
ICommand
? Command
30
get { return (
ICommand
?)GetValue(CommandProperty); }
58
var
cmd = Command;
Microsoft.VisualStudio.LanguageServices (1)
StackTraceExplorer\StackTraceExplorerTab.cs (1)
20
public
ICommand
CloseClick { get; }
netstandard (1)
netstandard.cs (1)
2247
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Windows.Input.
ICommand
))]
PresentationCore (42)
OtherAssemblyAttrs.cs (1)
22
[assembly: TypeForwardedTo(typeof(System.Windows.Input.
ICommand
))]
System\Windows\Input\Command\CanExecuteChangedEventManager.cs (11)
41
public static void AddHandler(
ICommand
source, EventHandler<EventArgs> handler)
51
public static void RemoveHandler(
ICommand
source, EventHandler<EventArgs> handler)
89
ICommand
command = source as
ICommand
;
185
private void PrivateAddHandler(
ICommand
source, EventHandler<EventArgs> handler)
203
private void PrivateRemoveHandler(
ICommand
source, EventHandler<EventArgs> handler)
361
public HandlerSink(CanExecuteChangedEventManager manager,
ICommand
source, EventHandler<EventArgs> originalHandler)
412
public bool Matches(
ICommand
source, EventHandler<EventArgs> handler)
414
return (_source != null && (
ICommand
)_source.Target == source) &&
422
ICommand
source = (
ICommand
)_source.Target;
System\Windows\Input\Command\CanExecuteRoutedEventArgs.cs (3)
26
internal CanExecuteRoutedEventArgs(
ICommand
command, object parameter)
41
public
ICommand
Command
92
private
ICommand
_command;
System\Windows\Input\Command\CommandBinding.cs (5)
32
public CommandBinding(
ICommand
command)
42
public CommandBinding(
ICommand
command, ExecutedRoutedEventHandler executed)
53
public CommandBinding(
ICommand
command, ExecutedRoutedEventHandler executed, CanExecuteRoutedEventHandler canExecute)
76
public
ICommand
Command
198
private
ICommand
_command;
System\Windows\Input\Command\CommandBindingCollection.cs (2)
345
internal
ICommand
FindMatch(object targetElement, InputEventArgs inputEventArgs)
361
internal CommandBinding FindMatch(
ICommand
command, ref int index)
System\Windows\Input\Command\CommandDevice.cs (3)
301
internal CommandDeviceEventArgs(CommandDevice commandDevice, int timestamp,
ICommand
command)
312
internal
ICommand
Command
328
private
ICommand
_command;
System\Windows\Input\Command\CommandManager.cs (3)
276
ICommand
command = null;
532
private static void FindCommandBinding(object sender, RoutedEventArgs e,
ICommand
command, bool execute)
627
private static void FindCommandBinding(CommandBindingCollection commandBindings, object sender, RoutedEventArgs e,
ICommand
command, bool execute)
System\Windows\Input\Command\ExecutedRoutedEventArgs.cs (3)
26
internal ExecutedRoutedEventArgs(
ICommand
command, object parameter)
41
public
ICommand
Command
73
private
ICommand
_command;
System\Windows\Input\Command\ICommandSource.cs (1)
19
ICommand
Command
System\Windows\Input\Command\InputBinding.cs (4)
35
public InputBinding(
ICommand
command, InputGesture gesture)
57
DependencyProperty.Register("Command", typeof(
ICommand
), typeof(InputBinding), new UIPropertyMetadata(null, new PropertyChangedCallback(OnCommandPropertyChanged)));
64
public
ICommand
Command
68
return (
ICommand
)GetValue(CommandProperty);
System\Windows\Input\Command\KeyBinding.cs (2)
43
public KeyBinding(
ICommand
command, KeyGesture gesture) : base(command, gesture)
54
public KeyBinding(
ICommand
command, Key key, ModifierKeys modifiers) :
System\Windows\Input\Command\MouseBinding.cs (2)
46
internal MouseBinding(
ICommand
command, MouseAction mouseAction)
56
public MouseBinding(
ICommand
command, MouseGesture gesture) : base(command, gesture)
System\Windows\Input\Command\RoutedCommand.cs (2)
79
void
ICommand
.Execute(object parameter)
89
bool
ICommand
.CanExecute(object parameter)
PresentationFramework (58)
MS\Internal\Commands\CommandHelpers.cs (3)
112
ICommand
command = commandSource.Command;
149
ICommand
command = commandSource.Command;
174
internal static void ExecuteCommand(
ICommand
command, object parameter, IInputElement target)
System\Windows\Controls\InkCanvas.cs (1)
2702
ICommand
command = args.Command;
System\Windows\Controls\MenuItem.cs (11)
379
(
ICommand
)null,
387
public
ICommand
Command
389
get { return (
ICommand
) GetValue(CommandProperty); }
396
item.OnCommandChanged((
ICommand
) e.OldValue, (
ICommand
) e.NewValue);
399
private void OnCommandChanged(
ICommand
oldCommand,
ICommand
newCommand)
414
private void UnhookCommand(
ICommand
command)
420
private void HookCommand(
ICommand
command)
1314
ICommand
command = item as
ICommand
;
System\Windows\Controls\Primitives\ButtonBase.cs (10)
184
typeof(
ICommand
),
186
new FrameworkPropertyMetadata((
ICommand
)null,
263
public
ICommand
Command
267
return (
ICommand
) GetValue(CommandProperty);
278
b.OnCommandChanged((
ICommand
)e.OldValue, (
ICommand
)e.NewValue);
281
private void OnCommandChanged(
ICommand
oldCommand,
ICommand
newCommand)
293
private void UnhookCommand(
ICommand
command)
299
private void HookCommand(
ICommand
command)
System\Windows\Documents\Hyperlink.cs (10)
143
typeof(
ICommand
),
145
new FrameworkPropertyMetadata((
ICommand
)null,
153
public
ICommand
Command
157
return (
ICommand
)GetValue(CommandProperty);
168
h.OnCommandChanged((
ICommand
)e.OldValue, (
ICommand
)e.NewValue);
171
private void OnCommandChanged(
ICommand
oldCommand,
ICommand
newCommand)
183
private void UnhookCommand(
ICommand
command)
189
private void HookCommand(
ICommand
command)
System\windows\Documents\TextEditorTyping.cs (2)
1080
private static bool HandleEnterBreakForRichText(TextEditor This,
ICommand
command)
1151
private static bool HandleEnterBreakWhenStructuralBoundaryIsCrossed(TextEditor This,
ICommand
command)
System\Windows\Input\Command\CommandConverter.cs (5)
105
ICommand
command = ConvertFromHelper( ownerType, localName );
122
internal static
ICommand
ConvertFromHelper(Type ownerType, string localName )
124
ICommand
command = null;
141
command = propertyInfo.GetValue(null, null) as
ICommand
;
148
command = fieldInfo.GetValue(null) as
ICommand
;
System\Windows\Input\Command\CommandValueSerializer.cs (1)
156
ICommand
command = CommandConverter.ConvertFromHelper( declaringType, commandName );
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
369
case 276: t = () => typeof(
ICommand
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (2)
7521
typeof(System.Windows.Input.
ICommand
), // type
7527
SetDelegate = delegate (object target, object value) { ((System.Windows.Input.CommandBinding)target).Command = (System.Windows.Input.
ICommand
)value; },
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5673
typeof(System.Windows.Input.
ICommand
),
System\Windows\Markup\KnownTypes.cs (1)
5823
case KnownElements.ICommand: t = typeof(System.Windows.Input.
ICommand
); break;
System\Windows\Shell\ThumbButtonInfo.cs (10)
171
typeof(
ICommand
),
179
var
oldCommand = (
ICommand
)e.OldValue;
180
var
newCommand = (
ICommand
)e.NewValue;
254
ICommand
command = Command;
275
private void UnhookCommand(
ICommand
command)
282
private void HookCommand(
ICommand
command)
318
public
ICommand
Command
320
get { return (
ICommand
)GetValue(CommandProperty); }
System (1)
src\libraries\shims\System\ref\System.cs (1)
937
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Windows.Input.
ICommand
))]
System.Windows (1)
System.Windows.cs (1)
12
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Windows.Input.
ICommand
))]
System.Windows.Controls.Ribbon (29)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (9)
2790
public
ICommand
Command
2792
get { return (
ICommand
)GetValue(CommandProperty); }
2802
typeof(
ICommand
),
2866
ICommand
oldCommand = (
ICommand
)e.OldValue;
2867
ICommand
newCommand = (
ICommand
)e.NewValue;
2881
private void HookCommand(
ICommand
command)
2892
private void UnhookCommand(
ICommand
command)
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (4)
332
public
ICommand
Command
334
get { return (
ICommand
)GetValue(CommandProperty); }
344
typeof(
ICommand
),
346
new FrameworkPropertyMetadata((
ICommand
)null, RibbonHelper.OnCommandChanged));
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (9)
85
public
ICommand
Command
87
get { return (
ICommand
)GetValue(CommandProperty); }
97
typeof(
ICommand
),
161
ICommand
oldCommand = (
ICommand
)e.OldValue;
162
ICommand
newCommand = (
ICommand
)e.NewValue;
176
private void HookCommand(
ICommand
command)
187
private void UnhookCommand(
ICommand
command)
Microsoft\Windows\Controls\Ribbon\RibbonWindow.cs (5)
28
private static
ICommand
_minimizeWindowCommand = System.Windows.SystemCommands.MinimizeWindowCommand;
29
private static
ICommand
_maximizeWindowCommand = System.Windows.SystemCommands.MaximizeWindowCommand;
30
private static
ICommand
_restoreWindowCommand = System.Windows.SystemCommands.RestoreWindowCommand;
31
private static
ICommand
_closeWindowCommand = System.Windows.SystemCommands.CloseWindowCommand;
32
private static
ICommand
_showSystemMenuCommand = System.Windows.SystemCommands.ShowSystemMenuCommand;
Microsoft\Windows\Input\CommandHelpers.cs (2)
22
ICommand
command = commandSource.Command;
78
ICommand
command = commandSource.Command;
System.Windows.Forms (23)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (9)
51
private Input.
ICommand
? _command;
182
/// Gets or sets the <see cref="Input.
ICommand
"/> whose <see cref="Input.
ICommand
.Execute(object?)"/>
190
public Input.
ICommand
? Command
197
/// Occurs when the <see cref="Input.
ICommand
.CanExecute(object?)"/> status of the
198
/// <see cref="Input.
ICommand
"/> which is assigned to the <see cref="Command"/> property has changed.
210
/// Occurs when the assigned <see cref="Input.
ICommand
"/> of the <see cref="Command"/> property has changed.
222
/// Gets or sets the parameter that is passed to the <see cref="Input.
ICommand
"/>
1058
/// <see cref="Input.
ICommand
.Execute(object?)"/> if the context allows.
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (9)
53
private Input.
ICommand
? _command;
401
/// Gets or sets the <see cref="Input.
ICommand
"/> whose <see cref="Input.
ICommand
.Execute(object?)"/>
409
public Input.
ICommand
? Command
416
/// Occurs when the <see cref="Input.
ICommand
.CanExecute(object?)"/> status of the
417
/// <see cref="Input.
ICommand
"/> which is assigned to the <see cref="Command"/> property has changed.
429
/// Occurs when the assigned <see cref="Input.
ICommand
"/> of the <see cref="Command"/> property has changed.
441
/// Gets or sets the parameter that is passed to the <see cref="Input.
ICommand
"/>
2709
/// <see cref="Input.
ICommand
.Execute(object?)"/> if the context allows.
System\Windows\Forms\DataBinding\ICommandBindingTargetProvider.cs (5)
23
ICommand
? Command { get; set; }
67
ICommand
? newCommand,
68
ref
ICommand
? commandBackingField)
90
ICommand
? newCommand,
91
ref
ICommand
? commandBackingField)
System.Windows.Forms.Tests (1)
System\Windows\Forms\Mocks\DataBinding\RelayCommand.cs (1)
8
/// <see cref="Input.
ICommand
"/>.