1 type derived from RoutedCommand
PresentationCore (1)
System\Windows\Input\Command\RoutedUICommand.cs (1)
22
public class RoutedUICommand :
RoutedCommand
47 instantiations of RoutedCommand
Microsoft.VisualStudio.LanguageServices (7)
GenerateType\GenerateTypeDialog.xaml.cs (5)
49
new
RoutedCommand
(
56
new
RoutedCommand
(
63
new
RoutedCommand
(
70
new
RoutedCommand
(
77
new
RoutedCommand
(
PickMembers\PickMembersDialog.xaml.cs (2)
48
new
RoutedCommand
(
55
new
RoutedCommand
(
PresentationFramework (39)
System\Windows\Controls\DataGrid.cs (3)
2054
public static readonly RoutedCommand BeginEditCommand = new
RoutedCommand
("BeginEdit", typeof(DataGrid));
2060
public static readonly RoutedCommand CommitEditCommand = new
RoutedCommand
("CommitEdit", typeof(DataGrid));
2067
public static readonly RoutedCommand CancelEditCommand = new
RoutedCommand
("CancelEdit", typeof(DataGrid));
System\Windows\Controls\InkCanvas.cs (1)
2051
internal static readonly RoutedCommand DeselectCommand = new
RoutedCommand
("Deselect", typeof(InkCanvas));
System\Windows\Controls\Primitives\ScrollBar.cs (19)
229
public static readonly RoutedCommand LineUpCommand = new
RoutedCommand
("LineUp", typeof(ScrollBar));
233
public static readonly RoutedCommand LineDownCommand = new
RoutedCommand
("LineDown", typeof(ScrollBar));
237
public static readonly RoutedCommand LineLeftCommand = new
RoutedCommand
("LineLeft", typeof(ScrollBar));
241
public static readonly RoutedCommand LineRightCommand = new
RoutedCommand
("LineRight", typeof(ScrollBar));
245
public static readonly RoutedCommand PageUpCommand = new
RoutedCommand
("PageUp", typeof(ScrollBar));
249
public static readonly RoutedCommand PageDownCommand = new
RoutedCommand
("PageDown", typeof(ScrollBar));
253
public static readonly RoutedCommand PageLeftCommand = new
RoutedCommand
("PageLeft", typeof(ScrollBar));
257
public static readonly RoutedCommand PageRightCommand = new
RoutedCommand
("PageRight", typeof(ScrollBar));
261
public static readonly RoutedCommand ScrollToEndCommand = new
RoutedCommand
("ScrollToEnd", typeof(ScrollBar));
265
public static readonly RoutedCommand ScrollToHomeCommand = new
RoutedCommand
("ScrollToHome", typeof(ScrollBar));
269
public static readonly RoutedCommand ScrollToRightEndCommand = new
RoutedCommand
("ScrollToRightEnd", typeof(ScrollBar));
273
public static readonly RoutedCommand ScrollToLeftEndCommand = new
RoutedCommand
("ScrollToLeftEnd", typeof(ScrollBar));
277
public static readonly RoutedCommand ScrollToTopCommand = new
RoutedCommand
("ScrollToTop", typeof(ScrollBar));
281
public static readonly RoutedCommand ScrollToBottomCommand = new
RoutedCommand
("ScrollToBottom", typeof(ScrollBar));
285
public static readonly RoutedCommand ScrollToHorizontalOffsetCommand = new
RoutedCommand
("ScrollToHorizontalOffset", typeof(ScrollBar));
289
public static readonly RoutedCommand ScrollToVerticalOffsetCommand = new
RoutedCommand
("ScrollToVerticalOffset", typeof(ScrollBar));
293
public static readonly RoutedCommand DeferScrollToHorizontalOffsetCommand = new
RoutedCommand
("DeferScrollToToHorizontalOffset", typeof(ScrollBar));
297
public static readonly RoutedCommand DeferScrollToVerticalOffsetCommand = new
RoutedCommand
("DeferScrollToVerticalOffset", typeof(ScrollBar));
302
public static readonly RoutedCommand ScrollHereCommand = new
RoutedCommand
("ScrollHere", typeof(ScrollBar));
System\Windows\Controls\Slider.cs (6)
141
_increaseLargeCommand = new
RoutedCommand
("IncreaseLarge", typeof(Slider));
142
_decreaseLargeCommand = new
RoutedCommand
("DecreaseLarge", typeof(Slider));
143
_increaseSmallCommand = new
RoutedCommand
("IncreaseSmall", typeof(Slider));
144
_decreaseSmallCommand = new
RoutedCommand
("DecreaseSmall", typeof(Slider));
145
_minimizeValueCommand = new
RoutedCommand
("MinimizeValue", typeof(Slider));
146
_maximizeValueCommand = new
RoutedCommand
("MaximizeValue", typeof(Slider));
System\Windows\Controls\StickyNote.cs (2)
523
public static readonly RoutedCommand DeleteNoteCommand = new
RoutedCommand
("DeleteNote", typeof(StickyNoteControl));
528
public static readonly RoutedCommand InkCommand = new
RoutedCommand
("Ink", typeof(StickyNoteControl));
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8570
bamlType.DefaultConstructor = delegate() { return new System.Windows.Input.
RoutedCommand
(); };
System\Windows\Markup\KnownTypes.cs (1)
1512
case KnownElements.RoutedCommand: o = new System.Windows.Input.
RoutedCommand
(); break;
System\Windows\SystemCommands.cs (5)
24
CloseWindowCommand = new
RoutedCommand
("CloseWindow", typeof(SystemCommands));
25
MaximizeWindowCommand = new
RoutedCommand
("MaximizeWindow", typeof(SystemCommands));
26
MinimizeWindowCommand = new
RoutedCommand
("MinimizeWindow", typeof(SystemCommands));
27
RestoreWindowCommand = new
RoutedCommand
("RestoreWindow", typeof(SystemCommands));
28
ShowSystemMenuCommand = new
RoutedCommand
("ShowSystemMenu", typeof(SystemCommands));
System\Windows\Window.cs (1)
3365
internal static readonly RoutedCommand DialogCancelCommand = new
RoutedCommand
("DialogCancel", typeof(Window));
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
77
FilterCommand = new
RoutedCommand
("Filter", ownerType);
117 references to RoutedCommand
PresentationCore (11)
System\Windows\Input\Command\CommandBindingCollection.cs (1)
367
if (commandBinding.Command is not
RoutedCommand
routedCommand) continue;
System\Windows\Input\Command\CommandDevice.cs (3)
98
RoutedCommand
command = GetRoutedCommand(rawAppCommandInputReport.AppCommand);
123
private
RoutedCommand
GetRoutedCommand( int appCommandId )
125
RoutedCommand
appCommand = null;
System\Windows\Input\Command\CommandManager.cs (7)
410
RoutedCommand
routedCommand = command as
RoutedCommand
;
441
private static bool ExecuteCommand(
RoutedCommand
routedCommand, object parameter, IInputElement target, InputEventArgs inputEventArgs)
657
RoutedCommand
command = e.Command as
RoutedCommand
;
673
RoutedCommand
command = e.Command as
RoutedCommand
;
PresentationFramework (101)
MS\Internal\AppModel\OleCmdHelper.cs (4)
278
public CommandWithArgument(
RoutedCommand
command) : this(command, null)
281
public CommandWithArgument(
RoutedCommand
command, object argument)
332
public
RoutedCommand
Command
342
private
RoutedCommand
_command;
MS\Internal\Commands\CommandHelpers.cs (19)
21
internal static void RegisterCommandHandler(Type controlType,
RoutedCommand
command, ExecutedRoutedEventHandler executedRoutedEventHandler)
26
internal static void RegisterCommandHandler(Type controlType,
RoutedCommand
command, ExecutedRoutedEventHandler executedRoutedEventHandler,
32
internal static void RegisterCommandHandler(Type controlType,
RoutedCommand
command, ExecutedRoutedEventHandler executedRoutedEventHandler,
38
internal static void RegisterCommandHandler(Type controlType,
RoutedCommand
command, ExecutedRoutedEventHandler executedRoutedEventHandler,
44
internal static void RegisterCommandHandler(Type controlType,
RoutedCommand
command, ExecutedRoutedEventHandler executedRoutedEventHandler,
50
internal static void RegisterCommandHandler(Type controlType,
RoutedCommand
command, ExecutedRoutedEventHandler executedRoutedEventHandler,
56
internal static void RegisterCommandHandler(Type controlType,
RoutedCommand
command, ExecutedRoutedEventHandler executedRoutedEventHandler,
62
internal static void RegisterCommandHandler(Type controlType,
RoutedCommand
command, ExecutedRoutedEventHandler executedRoutedEventHandler,
68
internal static void RegisterCommandHandler(Type controlType,
RoutedCommand
command, ExecutedRoutedEventHandler executedRoutedEventHandler,
76
internal static void RegisterCommandHandler(Type controlType,
RoutedCommand
command, Key key, ModifierKeys modifierKeys,
82
internal static void RegisterCommandHandler(Type controlType,
RoutedCommand
command, ExecutedRoutedEventHandler executedRoutedEventHandler,
89
internal static void RegisterCommandHandler(Type controlType,
RoutedCommand
command, ExecutedRoutedEventHandler executedRoutedEventHandler,
97
private static void PrivateRegisterCommandHandler(Type controlType,
RoutedCommand
command, ExecutedRoutedEventHandler executedRoutedEventHandler,
127
RoutedCommand
routed = command as
RoutedCommand
;
164
RoutedCommand
routed = command as
RoutedCommand
;
185
RoutedCommand
routed = command as
RoutedCommand
;
System\Windows\Automation\Peers\ButtonBaseAutomationPeer.cs (2)
53
RoutedCommand
command = owner.Command as
RoutedCommand
;
System\Windows\Controls\DataGrid.cs (4)
2054
public static readonly
RoutedCommand
BeginEditCommand = new RoutedCommand("BeginEdit", typeof(DataGrid));
2060
public static readonly
RoutedCommand
CommitEditCommand = new RoutedCommand("CommitEdit", typeof(DataGrid));
2067
public static readonly
RoutedCommand
CancelEditCommand = new RoutedCommand("CancelEdit", typeof(DataGrid));
3326
private bool EndEdit(
RoutedCommand
command, DataGridCell cellContainer, DataGridEditingUnit editingUnit, bool exitEditMode)
System\Windows\Controls\InkCanvas.cs (3)
2051
internal static readonly
RoutedCommand
DeselectCommand = new RoutedCommand("Deselect", typeof(InkCanvas));
2772
RoutedCommand
command = (
RoutedCommand
)(args.Command);
System\Windows\Controls\MenuItem.cs (2)
1136
RoutedCommand
routedCommand;
1139
&& (routedCommand = menuItem.Command as
RoutedCommand
) != null )
System\Windows\Controls\PasswordBox.cs (1)
122
RoutedCommand
command = ApplicationCommands.Paste;
System\Windows\Controls\Primitives\ScrollBar.cs (22)
229
public static readonly
RoutedCommand
LineUpCommand = new RoutedCommand("LineUp", typeof(ScrollBar));
233
public static readonly
RoutedCommand
LineDownCommand = new RoutedCommand("LineDown", typeof(ScrollBar));
237
public static readonly
RoutedCommand
LineLeftCommand = new RoutedCommand("LineLeft", typeof(ScrollBar));
241
public static readonly
RoutedCommand
LineRightCommand = new RoutedCommand("LineRight", typeof(ScrollBar));
245
public static readonly
RoutedCommand
PageUpCommand = new RoutedCommand("PageUp", typeof(ScrollBar));
249
public static readonly
RoutedCommand
PageDownCommand = new RoutedCommand("PageDown", typeof(ScrollBar));
253
public static readonly
RoutedCommand
PageLeftCommand = new RoutedCommand("PageLeft", typeof(ScrollBar));
257
public static readonly
RoutedCommand
PageRightCommand = new RoutedCommand("PageRight", typeof(ScrollBar));
261
public static readonly
RoutedCommand
ScrollToEndCommand = new RoutedCommand("ScrollToEnd", typeof(ScrollBar));
265
public static readonly
RoutedCommand
ScrollToHomeCommand = new RoutedCommand("ScrollToHome", typeof(ScrollBar));
269
public static readonly
RoutedCommand
ScrollToRightEndCommand = new RoutedCommand("ScrollToRightEnd", typeof(ScrollBar));
273
public static readonly
RoutedCommand
ScrollToLeftEndCommand = new RoutedCommand("ScrollToLeftEnd", typeof(ScrollBar));
277
public static readonly
RoutedCommand
ScrollToTopCommand = new RoutedCommand("ScrollToTop", typeof(ScrollBar));
281
public static readonly
RoutedCommand
ScrollToBottomCommand = new RoutedCommand("ScrollToBottom", typeof(ScrollBar));
285
public static readonly
RoutedCommand
ScrollToHorizontalOffsetCommand = new RoutedCommand("ScrollToHorizontalOffset", typeof(ScrollBar));
289
public static readonly
RoutedCommand
ScrollToVerticalOffsetCommand = new RoutedCommand("ScrollToVerticalOffset", typeof(ScrollBar));
293
public static readonly
RoutedCommand
DeferScrollToHorizontalOffsetCommand = new RoutedCommand("DeferScrollToToHorizontalOffset", typeof(ScrollBar));
297
public static readonly
RoutedCommand
DeferScrollToVerticalOffsetCommand = new RoutedCommand("DeferScrollToVerticalOffset", typeof(ScrollBar));
302
public static readonly
RoutedCommand
ScrollHereCommand = new RoutedCommand("ScrollHere", typeof(ScrollBar));
413
RoutedCommand
command = (Orientation == Orientation.Horizontal) ? DeferScrollToHorizontalOffsetCommand : DeferScrollToVerticalOffsetCommand;
430
RoutedCommand
command = null;
898
private static MenuItem CreateMenuItem(string name, string automationId,
RoutedCommand
command)
System\Windows\Controls\Slider.cs (12)
89
private static
RoutedCommand
_increaseLargeCommand = null;
90
private static
RoutedCommand
_increaseSmallCommand = null;
91
private static
RoutedCommand
_decreaseLargeCommand = null;
92
private static
RoutedCommand
_decreaseSmallCommand = null;
93
private static
RoutedCommand
_minimizeValueCommand = null;
94
private static
RoutedCommand
_maximizeValueCommand = null;
99
public static
RoutedCommand
IncreaseLarge
106
public static
RoutedCommand
DecreaseLarge
113
public static
RoutedCommand
IncreaseSmall
120
public static
RoutedCommand
DecreaseSmall
127
public static
RoutedCommand
MinimizeValue
134
public static
RoutedCommand
MaximizeValue
System\Windows\Controls\StickyNote.cs (6)
523
public static readonly
RoutedCommand
DeleteNoteCommand = new RoutedCommand("DeleteNote", typeof(StickyNoteControl));
528
public static readonly
RoutedCommand
InkCommand = new RoutedCommand("Ink", typeof(StickyNoteControl));
1709
RoutedCommand
command = (
RoutedCommand
)(args.Command);
1745
RoutedCommand
command = (
RoutedCommand
)( args.Command );
System\Windows\Controls\TextBox.cs (3)
958
typeof(
RoutedCommand
),
968
internal
RoutedCommand
TemplateButtonCommand => (
RoutedCommand
)GetValue(TemplateButtonCommandProperty);
System\Windows\Input\Command\CommandConverter.cs (4)
76
RoutedCommand
command = context != null ? context.Instance as
RoutedCommand
: null;
183
RoutedCommand
command = value as
RoutedCommand
;
System\Windows\Input\Command\CommandValueSerializer.cs (6)
26
RoutedCommand
command = value as
RoutedCommand
;
66
RoutedCommand
command = value as
RoutedCommand
;
104
RoutedCommand
command = value as
RoutedCommand
;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
632
case 536: t = () => typeof(
RoutedCommand
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8568
typeof(System.Windows.Input.
RoutedCommand
),
System\Windows\Markup\KnownTypes.cs (1)
6090
case KnownElements.RoutedCommand: t = typeof(System.Windows.Input.
RoutedCommand
); break;
System\Windows\Shell\ThumbButtonInfo.cs (4)
264
RoutedCommand
routedCommand = command as
RoutedCommand
;
304
RoutedCommand
routed = Command as
RoutedCommand
;
System\Windows\SystemCommands.cs (5)
16
public static
RoutedCommand
CloseWindowCommand { get; private set; }
17
public static
RoutedCommand
MaximizeWindowCommand { get; private set; }
18
public static
RoutedCommand
MinimizeWindowCommand { get; private set; }
19
public static
RoutedCommand
RestoreWindowCommand { get; private set; }
20
public static
RoutedCommand
ShowSystemMenuCommand { get; private set; }
System\Windows\Window.cs (1)
3365
internal static readonly
RoutedCommand
DialogCancelCommand = new RoutedCommand("DialogCancel", typeof(Window));
System.Windows.Controls.Ribbon (5)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
1779
public static
RoutedCommand
FilterCommand { get; private set; }
Microsoft\Windows\Input\CommandHelpers.cs (4)
35
RoutedCommand
routed = command as
RoutedCommand
;
97
RoutedCommand
routed = command as
RoutedCommand
;