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