1 type derived from RoutedCommand
PresentationCore (1)
System\Windows\Input\Command\RoutedUICommand.cs (1)
18
public class RoutedUICommand :
RoutedCommand
47 instantiations of RoutedCommand
Microsoft.VisualStudio.LanguageServices (7)
GenerateType\GenerateTypeDialog.xaml.cs (5)
50
new
RoutedCommand
(
57
new
RoutedCommand
(
64
new
RoutedCommand
(
71
new
RoutedCommand
(
78
new
RoutedCommand
(
PickMembers\PickMembersDialog.xaml.cs (2)
49
new
RoutedCommand
(
56
new
RoutedCommand
(
PresentationFramework (39)
System\Windows\Controls\DataGrid.cs (3)
2051
public static readonly RoutedCommand BeginEditCommand = new
RoutedCommand
("BeginEdit", typeof(DataGrid));
2057
public static readonly RoutedCommand CommitEditCommand = new
RoutedCommand
("CommitEdit", typeof(DataGrid));
2064
public static readonly RoutedCommand CancelEditCommand = new
RoutedCommand
("CancelEdit", typeof(DataGrid));
System\Windows\Controls\InkCanvas.cs (1)
2039
internal static readonly RoutedCommand DeselectCommand = new
RoutedCommand
("Deselect", typeof(InkCanvas));
System\Windows\Controls\Primitives\ScrollBar.cs (19)
213
public static readonly RoutedCommand LineUpCommand = new
RoutedCommand
("LineUp", typeof(ScrollBar));
217
public static readonly RoutedCommand LineDownCommand = new
RoutedCommand
("LineDown", typeof(ScrollBar));
221
public static readonly RoutedCommand LineLeftCommand = new
RoutedCommand
("LineLeft", typeof(ScrollBar));
225
public static readonly RoutedCommand LineRightCommand = new
RoutedCommand
("LineRight", typeof(ScrollBar));
229
public static readonly RoutedCommand PageUpCommand = new
RoutedCommand
("PageUp", typeof(ScrollBar));
233
public static readonly RoutedCommand PageDownCommand = new
RoutedCommand
("PageDown", typeof(ScrollBar));
237
public static readonly RoutedCommand PageLeftCommand = new
RoutedCommand
("PageLeft", typeof(ScrollBar));
241
public static readonly RoutedCommand PageRightCommand = new
RoutedCommand
("PageRight", typeof(ScrollBar));
245
public static readonly RoutedCommand ScrollToEndCommand = new
RoutedCommand
("ScrollToEnd", typeof(ScrollBar));
249
public static readonly RoutedCommand ScrollToHomeCommand = new
RoutedCommand
("ScrollToHome", typeof(ScrollBar));
253
public static readonly RoutedCommand ScrollToRightEndCommand = new
RoutedCommand
("ScrollToRightEnd", typeof(ScrollBar));
257
public static readonly RoutedCommand ScrollToLeftEndCommand = new
RoutedCommand
("ScrollToLeftEnd", typeof(ScrollBar));
261
public static readonly RoutedCommand ScrollToTopCommand = new
RoutedCommand
("ScrollToTop", typeof(ScrollBar));
265
public static readonly RoutedCommand ScrollToBottomCommand = new
RoutedCommand
("ScrollToBottom", typeof(ScrollBar));
269
public static readonly RoutedCommand ScrollToHorizontalOffsetCommand = new
RoutedCommand
("ScrollToHorizontalOffset", typeof(ScrollBar));
273
public static readonly RoutedCommand ScrollToVerticalOffsetCommand = new
RoutedCommand
("ScrollToVerticalOffset", typeof(ScrollBar));
277
public static readonly RoutedCommand DeferScrollToHorizontalOffsetCommand = new
RoutedCommand
("DeferScrollToToHorizontalOffset", typeof(ScrollBar));
281
public static readonly RoutedCommand DeferScrollToVerticalOffsetCommand = new
RoutedCommand
("DeferScrollToVerticalOffset", typeof(ScrollBar));
286
public static readonly RoutedCommand ScrollHereCommand = new
RoutedCommand
("ScrollHere", typeof(ScrollBar));
System\Windows\Controls\Slider.cs (6)
130
_increaseLargeCommand = new
RoutedCommand
("IncreaseLarge", typeof(Slider));
131
_decreaseLargeCommand = new
RoutedCommand
("DecreaseLarge", typeof(Slider));
132
_increaseSmallCommand = new
RoutedCommand
("IncreaseSmall", typeof(Slider));
133
_decreaseSmallCommand = new
RoutedCommand
("DecreaseSmall", typeof(Slider));
134
_minimizeValueCommand = new
RoutedCommand
("MinimizeValue", typeof(Slider));
135
_maximizeValueCommand = new
RoutedCommand
("MaximizeValue", typeof(Slider));
System\Windows\Controls\StickyNote.cs (2)
507
public static readonly RoutedCommand DeleteNoteCommand = new
RoutedCommand
("DeleteNote", typeof(StickyNoteControl));
512
public static readonly RoutedCommand InkCommand = new
RoutedCommand
("Ink", typeof(StickyNoteControl));
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8568
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)
22
CloseWindowCommand = new
RoutedCommand
("CloseWindow", typeof(SystemCommands));
23
MaximizeWindowCommand = new
RoutedCommand
("MaximizeWindow", typeof(SystemCommands));
24
MinimizeWindowCommand = new
RoutedCommand
("MinimizeWindow", typeof(SystemCommands));
25
RestoreWindowCommand = new
RoutedCommand
("RestoreWindow", typeof(SystemCommands));
26
ShowSystemMenuCommand = new
RoutedCommand
("ShowSystemMenu", typeof(SystemCommands));
System\Windows\Window.cs (1)
3352
internal static readonly RoutedCommand DialogCancelCommand = new
RoutedCommand
("DialogCancel", typeof(Window));
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
75
FilterCommand = new
RoutedCommand
("Filter", ownerType);
117 references to RoutedCommand
PresentationCore (11)
System\Windows\Input\Command\CommandBindingCollection.cs (1)
354
if (commandBinding.Command is not
RoutedCommand
routedCommand) continue;
System\Windows\Input\Command\CommandDevice.cs (3)
91
RoutedCommand
command = GetRoutedCommand(rawAppCommandInputReport.AppCommand);
116
private
RoutedCommand
GetRoutedCommand( int appCommandId )
118
RoutedCommand
appCommand = null;
System\Windows\Input\Command\CommandManager.cs (7)
399
RoutedCommand
routedCommand = command as
RoutedCommand
;
430
private static bool ExecuteCommand(
RoutedCommand
routedCommand, object parameter, IInputElement target, InputEventArgs inputEventArgs)
646
RoutedCommand
command = e.Command as
RoutedCommand
;
662
RoutedCommand
command = e.Command as
RoutedCommand
;
PresentationFramework (101)
MS\Internal\AppModel\OleCmdHelper.cs (4)
272
public CommandWithArgument(
RoutedCommand
command) : this(command, null)
275
public CommandWithArgument(
RoutedCommand
command, object argument)
326
public
RoutedCommand
Command
336
private
RoutedCommand
_command;
MS\Internal\Commands\CommandHelpers.cs (19)
16
internal static void RegisterCommandHandler(Type controlType,
RoutedCommand
command, ExecutedRoutedEventHandler executedRoutedEventHandler)
21
internal static void RegisterCommandHandler(Type controlType,
RoutedCommand
command, ExecutedRoutedEventHandler executedRoutedEventHandler,
27
internal static void RegisterCommandHandler(Type controlType,
RoutedCommand
command, ExecutedRoutedEventHandler executedRoutedEventHandler,
33
internal static void RegisterCommandHandler(Type controlType,
RoutedCommand
command, ExecutedRoutedEventHandler executedRoutedEventHandler,
39
internal static void RegisterCommandHandler(Type controlType,
RoutedCommand
command, ExecutedRoutedEventHandler executedRoutedEventHandler,
45
internal static void RegisterCommandHandler(Type controlType,
RoutedCommand
command, ExecutedRoutedEventHandler executedRoutedEventHandler,
51
internal static void RegisterCommandHandler(Type controlType,
RoutedCommand
command, ExecutedRoutedEventHandler executedRoutedEventHandler,
57
internal static void RegisterCommandHandler(Type controlType,
RoutedCommand
command, ExecutedRoutedEventHandler executedRoutedEventHandler,
63
internal static void RegisterCommandHandler(Type controlType,
RoutedCommand
command, ExecutedRoutedEventHandler executedRoutedEventHandler,
71
internal static void RegisterCommandHandler(Type controlType,
RoutedCommand
command, Key key, ModifierKeys modifierKeys,
77
internal static void RegisterCommandHandler(Type controlType,
RoutedCommand
command, ExecutedRoutedEventHandler executedRoutedEventHandler,
84
internal static void RegisterCommandHandler(Type controlType,
RoutedCommand
command, ExecutedRoutedEventHandler executedRoutedEventHandler,
92
private static void PrivateRegisterCommandHandler(Type controlType,
RoutedCommand
command, ExecutedRoutedEventHandler executedRoutedEventHandler,
122
RoutedCommand
routed = command as
RoutedCommand
;
159
RoutedCommand
routed = command as
RoutedCommand
;
180
RoutedCommand
routed = command as
RoutedCommand
;
System\Windows\Automation\Peers\ButtonBaseAutomationPeer.cs (2)
40
RoutedCommand
command = owner.Command as
RoutedCommand
;
System\Windows\Controls\DataGrid.cs (4)
2051
public static readonly
RoutedCommand
BeginEditCommand = new RoutedCommand("BeginEdit", typeof(DataGrid));
2057
public static readonly
RoutedCommand
CommitEditCommand = new RoutedCommand("CommitEdit", typeof(DataGrid));
2064
public static readonly
RoutedCommand
CancelEditCommand = new RoutedCommand("CancelEdit", typeof(DataGrid));
3323
private bool EndEdit(
RoutedCommand
command, DataGridCell cellContainer, DataGridEditingUnit editingUnit, bool exitEditMode)
System\Windows\Controls\InkCanvas.cs (3)
2039
internal static readonly
RoutedCommand
DeselectCommand = new RoutedCommand("Deselect", typeof(InkCanvas));
2760
RoutedCommand
command = (
RoutedCommand
)(args.Command);
System\Windows\Controls\MenuItem.cs (2)
1126
RoutedCommand
routedCommand;
1129
&& (routedCommand = menuItem.Command as
RoutedCommand
) != null )
System\Windows\Controls\PasswordBox.cs (1)
114
RoutedCommand
command = ApplicationCommands.Paste;
System\Windows\Controls\Primitives\ScrollBar.cs (22)
213
public static readonly
RoutedCommand
LineUpCommand = new RoutedCommand("LineUp", typeof(ScrollBar));
217
public static readonly
RoutedCommand
LineDownCommand = new RoutedCommand("LineDown", typeof(ScrollBar));
221
public static readonly
RoutedCommand
LineLeftCommand = new RoutedCommand("LineLeft", typeof(ScrollBar));
225
public static readonly
RoutedCommand
LineRightCommand = new RoutedCommand("LineRight", typeof(ScrollBar));
229
public static readonly
RoutedCommand
PageUpCommand = new RoutedCommand("PageUp", typeof(ScrollBar));
233
public static readonly
RoutedCommand
PageDownCommand = new RoutedCommand("PageDown", typeof(ScrollBar));
237
public static readonly
RoutedCommand
PageLeftCommand = new RoutedCommand("PageLeft", typeof(ScrollBar));
241
public static readonly
RoutedCommand
PageRightCommand = new RoutedCommand("PageRight", typeof(ScrollBar));
245
public static readonly
RoutedCommand
ScrollToEndCommand = new RoutedCommand("ScrollToEnd", typeof(ScrollBar));
249
public static readonly
RoutedCommand
ScrollToHomeCommand = new RoutedCommand("ScrollToHome", typeof(ScrollBar));
253
public static readonly
RoutedCommand
ScrollToRightEndCommand = new RoutedCommand("ScrollToRightEnd", typeof(ScrollBar));
257
public static readonly
RoutedCommand
ScrollToLeftEndCommand = new RoutedCommand("ScrollToLeftEnd", typeof(ScrollBar));
261
public static readonly
RoutedCommand
ScrollToTopCommand = new RoutedCommand("ScrollToTop", typeof(ScrollBar));
265
public static readonly
RoutedCommand
ScrollToBottomCommand = new RoutedCommand("ScrollToBottom", typeof(ScrollBar));
269
public static readonly
RoutedCommand
ScrollToHorizontalOffsetCommand = new RoutedCommand("ScrollToHorizontalOffset", typeof(ScrollBar));
273
public static readonly
RoutedCommand
ScrollToVerticalOffsetCommand = new RoutedCommand("ScrollToVerticalOffset", typeof(ScrollBar));
277
public static readonly
RoutedCommand
DeferScrollToHorizontalOffsetCommand = new RoutedCommand("DeferScrollToToHorizontalOffset", typeof(ScrollBar));
281
public static readonly
RoutedCommand
DeferScrollToVerticalOffsetCommand = new RoutedCommand("DeferScrollToVerticalOffset", typeof(ScrollBar));
286
public static readonly
RoutedCommand
ScrollHereCommand = new RoutedCommand("ScrollHere", typeof(ScrollBar));
397
RoutedCommand
command = (Orientation == Orientation.Horizontal) ? DeferScrollToHorizontalOffsetCommand : DeferScrollToVerticalOffsetCommand;
414
RoutedCommand
command = null;
882
private static MenuItem CreateMenuItem(string name, string automationId,
RoutedCommand
command)
System\Windows\Controls\Slider.cs (12)
78
private static
RoutedCommand
_increaseLargeCommand = null;
79
private static
RoutedCommand
_increaseSmallCommand = null;
80
private static
RoutedCommand
_decreaseLargeCommand = null;
81
private static
RoutedCommand
_decreaseSmallCommand = null;
82
private static
RoutedCommand
_minimizeValueCommand = null;
83
private static
RoutedCommand
_maximizeValueCommand = null;
88
public static
RoutedCommand
IncreaseLarge
95
public static
RoutedCommand
DecreaseLarge
102
public static
RoutedCommand
IncreaseSmall
109
public static
RoutedCommand
DecreaseSmall
116
public static
RoutedCommand
MinimizeValue
123
public static
RoutedCommand
MaximizeValue
System\Windows\Controls\StickyNote.cs (6)
507
public static readonly
RoutedCommand
DeleteNoteCommand = new RoutedCommand("DeleteNote", typeof(StickyNoteControl));
512
public static readonly
RoutedCommand
InkCommand = new RoutedCommand("Ink", typeof(StickyNoteControl));
1693
RoutedCommand
command = (
RoutedCommand
)(args.Command);
1729
RoutedCommand
command = (
RoutedCommand
)( args.Command );
System\Windows\Controls\TextBox.cs (3)
951
typeof(
RoutedCommand
),
961
internal
RoutedCommand
TemplateButtonCommand => (
RoutedCommand
)GetValue(TemplateButtonCommandProperty);
System\Windows\Input\Command\CommandConverter.cs (4)
71
RoutedCommand
command = context != null ? context.Instance as
RoutedCommand
: null;
178
RoutedCommand
command = value as
RoutedCommand
;
System\Windows\Input\Command\CommandValueSerializer.cs (6)
22
RoutedCommand
command = value as
RoutedCommand
;
62
RoutedCommand
command = value as
RoutedCommand
;
100
RoutedCommand
command = value as
RoutedCommand
;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
630
case 536: t = () => typeof(
RoutedCommand
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8566
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)
261
RoutedCommand
routedCommand = command as
RoutedCommand
;
301
RoutedCommand
routed = Command as
RoutedCommand
;
System\Windows\SystemCommands.cs (5)
14
public static
RoutedCommand
CloseWindowCommand { get; private set; }
15
public static
RoutedCommand
MaximizeWindowCommand { get; private set; }
16
public static
RoutedCommand
MinimizeWindowCommand { get; private set; }
17
public static
RoutedCommand
RestoreWindowCommand { get; private set; }
18
public static
RoutedCommand
ShowSystemMenuCommand { get; private set; }
System\Windows\Window.cs (1)
3352
internal static readonly
RoutedCommand
DialogCancelCommand = new RoutedCommand("DialogCancel", typeof(Window));
System.Windows.Controls.Ribbon (5)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
1777
public static
RoutedCommand
FilterCommand { get; private set; }
Microsoft\Windows\Input\CommandHelpers.cs (4)
26
RoutedCommand
routed = command as
RoutedCommand
;
88
RoutedCommand
routed = command as
RoutedCommand
;