1 type derived from RoutedCommand
PresentationCore (1)
Core\CSharp\System\Windows\Input\Command\RoutedUICommand.cs (1)
21public class RoutedUICommand : RoutedCommand
120 instantiations of RoutedCommand
PresentationFramework (39)
src\Framework\System\Windows\Controls\DataGrid.cs (3)
2058public static readonly RoutedCommand BeginEditCommand = new RoutedCommand("BeginEdit", typeof(DataGrid)); 2064public static readonly RoutedCommand CommitEditCommand = new RoutedCommand("CommitEdit", typeof(DataGrid)); 2071public static readonly RoutedCommand CancelEditCommand = new RoutedCommand("CancelEdit", typeof(DataGrid));
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
2137internal static readonly RoutedCommand DeselectCommand = new RoutedCommand("Deselect", typeof(InkCanvas));
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (19)
234public static readonly RoutedCommand LineUpCommand = new RoutedCommand("LineUp", typeof(ScrollBar)); 238public static readonly RoutedCommand LineDownCommand = new RoutedCommand("LineDown", typeof(ScrollBar)); 242public static readonly RoutedCommand LineLeftCommand = new RoutedCommand("LineLeft", typeof(ScrollBar)); 246public static readonly RoutedCommand LineRightCommand = new RoutedCommand("LineRight", typeof(ScrollBar)); 250public static readonly RoutedCommand PageUpCommand = new RoutedCommand("PageUp", typeof(ScrollBar)); 254public static readonly RoutedCommand PageDownCommand = new RoutedCommand("PageDown", typeof(ScrollBar)); 258public static readonly RoutedCommand PageLeftCommand = new RoutedCommand("PageLeft", typeof(ScrollBar)); 262public static readonly RoutedCommand PageRightCommand = new RoutedCommand("PageRight", typeof(ScrollBar)); 266public static readonly RoutedCommand ScrollToEndCommand = new RoutedCommand("ScrollToEnd", typeof(ScrollBar)); 270public static readonly RoutedCommand ScrollToHomeCommand = new RoutedCommand("ScrollToHome", typeof(ScrollBar)); 274public static readonly RoutedCommand ScrollToRightEndCommand = new RoutedCommand("ScrollToRightEnd", typeof(ScrollBar)); 278public static readonly RoutedCommand ScrollToLeftEndCommand = new RoutedCommand("ScrollToLeftEnd", typeof(ScrollBar)); 282public static readonly RoutedCommand ScrollToTopCommand = new RoutedCommand("ScrollToTop", typeof(ScrollBar)); 286public static readonly RoutedCommand ScrollToBottomCommand = new RoutedCommand("ScrollToBottom", typeof(ScrollBar)); 290public static readonly RoutedCommand ScrollToHorizontalOffsetCommand = new RoutedCommand("ScrollToHorizontalOffset", typeof(ScrollBar)); 294public static readonly RoutedCommand ScrollToVerticalOffsetCommand = new RoutedCommand("ScrollToVerticalOffset", typeof(ScrollBar)); 298public static readonly RoutedCommand DeferScrollToHorizontalOffsetCommand = new RoutedCommand("DeferScrollToToHorizontalOffset", typeof(ScrollBar)); 302public static readonly RoutedCommand DeferScrollToVerticalOffsetCommand = new RoutedCommand("DeferScrollToVerticalOffset", typeof(ScrollBar)); 307public static readonly RoutedCommand ScrollHereCommand = new RoutedCommand("ScrollHere", typeof(ScrollBar));
src\Framework\System\Windows\Controls\Slider.cs (6)
142_increaseLargeCommand = new RoutedCommand("IncreaseLarge", typeof(Slider)); 143_decreaseLargeCommand = new RoutedCommand("DecreaseLarge", typeof(Slider)); 144_increaseSmallCommand = new RoutedCommand("IncreaseSmall", typeof(Slider)); 145_decreaseSmallCommand = new RoutedCommand("DecreaseSmall", typeof(Slider)); 146_minimizeValueCommand = new RoutedCommand("MinimizeValue", typeof(Slider)); 147_maximizeValueCommand = new RoutedCommand("MaximizeValue", typeof(Slider));
src\Framework\System\Windows\Controls\StickyNote.cs (2)
533public static readonly RoutedCommand DeleteNoteCommand = new RoutedCommand("DeleteNote", typeof(StickyNoteControl)); 538public static readonly RoutedCommand InkCommand = new RoutedCommand("Ink", typeof(StickyNoteControl));
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8566bamlType.DefaultConstructor = delegate() { return new System.Windows.Input.RoutedCommand(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1513case KnownElements.RoutedCommand: o = new System.Windows.Input.RoutedCommand(); break;
src\Framework\System\Windows\SystemCommands.cs (5)
21CloseWindowCommand = new RoutedCommand("CloseWindow", typeof(SystemCommands)); 22MaximizeWindowCommand = new RoutedCommand("MaximizeWindow", typeof(SystemCommands)); 23MinimizeWindowCommand = new RoutedCommand("MinimizeWindow", typeof(SystemCommands)); 24RestoreWindowCommand = new RoutedCommand("RestoreWindow", typeof(SystemCommands)); 25ShowSystemMenuCommand = new RoutedCommand("ShowSystemMenu", typeof(SystemCommands));
src\Framework\System\Windows\Window.cs (1)
3417internal static readonly RoutedCommand DialogCancelCommand = new RoutedCommand("DialogCancel", typeof(Window));
System.Activities.Core.Presentation (16)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (3)
47public static readonly RoutedCommand SetAsStartNodeCommand = new RoutedCommand("SetAsStartNode", typeof(FlowchartDesigner)); 49public static readonly RoutedCommand ShowAllConditionsCommand = new RoutedCommand("ShowAllConditionsCommand", typeof(FlowchartDesigner)); 50public static readonly RoutedCommand HideAllConditionsCommand = new RoutedCommand("HideAllConditionsCommand", typeof(FlowchartDesigner));
System\Activities\Core\Presentation\FlowchartDesignerCommands.cs (1)
9public static readonly RoutedCommand ConnectNodesCommand = new RoutedCommand("ConnectNodes", typeof(FlowchartDesignerCommands));
System\Activities\Core\Presentation\PickDesigner.xaml.cs (1)
21public static readonly RoutedCommand CreateBranchCommand = new RoutedCommand("CreateBranchCommand", typeof(PickDesigner));
System\Activities\Core\Presentation\StateDesigner.xaml.cs (1)
42public static readonly RoutedCommand SetAsInitialCommand = new RoutedCommand("SetAsInitial", typeof(StateDesigner));
System\Activities\Presentation\DynamicArgumentDesigner.xaml.cs (4)
61public static readonly RoutedCommand CreateDynamicArgumentCommand = new RoutedCommand("CreateDynamicArgumentCommand", typeof(DynamicArgumentDesigner)); 62public static readonly RoutedCommand MoveUpArgumentCommand = new RoutedCommand("MoveUpArgumentCommand", typeof(DynamicArgumentDesigner)); 63public static readonly RoutedCommand MoveDownArgumentCommand = new RoutedCommand("MoveDownArgumentCommand", typeof(DynamicArgumentDesigner)); 64public static readonly RoutedCommand DeleteArgumentCommand = new RoutedCommand("DeleteArgumentCommand", typeof(DynamicArgumentDesigner));
System\Activities\Presentation\TypeCollectionDesigner.xaml.cs (2)
37public static readonly ICommand AddNewTypeCommand = new RoutedCommand("AddNewType", typeof(TypeCollectionDesigner)); 38public static readonly ICommand DeleteTypeCommand = new RoutedCommand("DeleteType", typeof(TypeCollectionDesigner));
System\ServiceModel\Activities\Presentation\CorrelationDataDesigner.xaml.cs (1)
42public static readonly RoutedCommand AddNewDataCommand = new RoutedCommand("AddNewDataCommand", typeof(CorrelationDataDesigner));
System\ServiceModel\Activities\Presentation\CorrelationInitializerDesigner.xaml.cs (1)
31static readonly ICommand AddNewInitializerCommand = new RoutedCommand();
System\ServiceModel\Activities\Presentation\ReceiveDesigner.xaml.cs (1)
40public static readonly RoutedCommand CreateSendReplyCommand = new RoutedCommand("CreateSendReply", typeof(ReceiveDesigner));
System\ServiceModel\Activities\Presentation\SendDesigner.xaml.cs (1)
41public static readonly RoutedCommand CreateReceiveReplyCommand = new RoutedCommand("CreateReceiveReply", typeof(SendDesigner));
System.Activities.Presentation (65)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryContainerCommands.cs (2)
20private static readonly RoutedCommand togglePinAdvancedProperties = new RoutedCommand("TogglePinAdvancedProperties", typeof(CategoryContainerCommands)); 21private static readonly RoutedCommand updateCategoryExpansionState = new RoutedCommand("UpdateCategoryExpansionState", typeof(CategoryContainerCommands));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\PropertyContainerPopupHelper.cs (2)
25public static readonly RoutedCommand OnBeginExtendedEdit = new RoutedCommand("OnBeginExtendedEdit", typeof(PropertyContainerPopup)); 26public static readonly RoutedCommand OnEndExtendedEdit = new RoutedCommand("OnEndExtendedEdit", typeof(PropertyContainerPopup));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyContainer.cs (1)
541_openDialogWindow = new RoutedCommand("OpenDialogWindow", typeof(PropertyContainer));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyValueEditorCommands.cs (8)
33_showInlineEditor = new RoutedCommand("ShowInlineEditor", typeof(PropertyValueEditorCommands)); 45_showExtendedPopupEditor = new RoutedCommand("ShowExtendedPopupEditor", typeof(PropertyValueEditorCommands)); 57_showExtendedPinnedEditor = new RoutedCommand("ShowExtendedPinnedEditor", typeof(PropertyValueEditorCommands)); 69_showDialogEditor = new RoutedCommand("ShowDialogEditor", typeof(PropertyValueEditorCommands)); 81_beginTransaction = new RoutedCommand("BeginTransaction", typeof(PropertyValueEditorCommands)); 94_commitTransaction = new RoutedCommand("CommitTransaction", typeof(PropertyValueEditorCommands)); 107_abortTransaction = new RoutedCommand("AbortTransaction", typeof(PropertyValueEditorCommands)); 120_finishEditing = new RoutedCommand("FinishEditing", typeof(PropertyValueEditorCommands));
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (40)
52public static readonly ICommand GoToParentCommand = new RoutedCommand("GoToParentCommand", typeof(DesignerView)); 54public static readonly ICommand ExpandCommand = new RoutedCommand("ExpandCommand", typeof(DesignerView)); 56public static readonly ICommand ExpandAllCommand = new RoutedCommand("ExpandAllCommand", typeof(DesignerView)); 58public static readonly ICommand CollapseCommand = new RoutedCommand("CollapseCommand", typeof(DesignerView)); 60public static readonly ICommand CollapseAllCommand = new RoutedCommand("CollapseAllCommand", typeof(DesignerView)); 62public static readonly ICommand RestoreCommand = new RoutedCommand("RestoreCommand", typeof(DesignerView)); 64public static readonly ICommand ExpandInPlaceCommand = new RoutedCommand("ExpandInPlaceCommand", typeof(DesignerView)); 66public static readonly ICommand InsertBreakpointCommand = new RoutedCommand("InsertBreakpointCommand", typeof(DesignerView)); 68public static readonly ICommand DeleteBreakpointCommand = new RoutedCommand("DeleteBreakpointParentCommand", typeof(DesignerView)); 70public static readonly ICommand EnableBreakpointCommand = new RoutedCommand("EnableBreakpointCommand", typeof(DesignerView)); 72public static readonly ICommand DisableBreakpointCommand = new RoutedCommand("DisableBreakpointCommand", typeof(DesignerView)); 74public static readonly ICommand SaveAsImageCommand = new RoutedCommand("SaveAsImageCommand", typeof(DesignerView)); 76public static readonly ICommand CopyAsImageCommand = new RoutedCommand("CopyAsImageCommand", typeof(DesignerView)); 78public static readonly ICommand ZoomInCommand = new RoutedCommand("ZoomInCommand", typeof(DesignerView)); 80public static readonly ICommand ZoomOutCommand = new RoutedCommand("ZoomOutCommand", typeof(DesignerView)); 82public static readonly ICommand ToggleArgumentDesignerCommand = new RoutedCommand("ToggleArgumentDesignerCommand", typeof(DesignerView)); 84public static readonly ICommand ToggleImportsDesignerCommand = new RoutedCommand("ToggleImportsDesignerCommand", typeof(DesignerView)); 86public static readonly ICommand ToggleVariableDesignerCommand = new RoutedCommand("ToggleVariableDesignerCommand", typeof(DesignerView)); 88public static readonly ICommand CreateVariableCommand = new RoutedCommand("CreateVariableCommand", typeof(DesignerView)); 90public static readonly ICommand ToggleMiniMapCommand = new RoutedCommand("ToggleMinimapCommand", typeof(DesignerView)); 92public static readonly ICommand CycleThroughDesignerCommand = new RoutedCommand("CycleThroughDesignerCommand", typeof(DesignerView)); 94public static readonly ICommand CreateWorkflowElementCommand = new RoutedCommand("CreateWorkflowElementCommand", typeof(DesignerView)); 96public static readonly ICommand CreateArgumentCommand = new RoutedCommand("CreateArgumentCommand", typeof(DesignerView)); 98public static readonly ICommand CommitCommand = new RoutedCommand("CommitCommand", typeof(DesignerView)); 100public static readonly ICommand FitToScreenCommand = new RoutedCommand("FitToScreenCommand", typeof(DesignerView)); 102public static readonly ICommand ResetZoomCommand = new RoutedCommand("ResetZoomCommand", typeof(DesignerView)); 104public static readonly ICommand MoveFocusCommand = new RoutedCommand("MoveFocusCommand", typeof(DesignerView)); 106public static readonly ICommand ToggleSelectionCommand = new RoutedCommand("ToggleSelectionCommand", typeof(DesignerView)); 108public static readonly ICommand CutCommand = new RoutedCommand("CutCommand", typeof(DesignerView)); 110public static readonly ICommand CopyCommand = new RoutedCommand("CopyCommand", typeof(DesignerView)); 112public static readonly ICommand PasteCommand = new RoutedCommand("PasteCommand", typeof(DesignerView)); 114public static readonly ICommand SelectAllCommand = new RoutedCommand("SelectAllCommand", typeof(DesignerView)); 116public static readonly ICommand UndoCommand = new RoutedCommand("UndoCommand", typeof(DesignerView)); 118public static readonly ICommand RedoCommand = new RoutedCommand("RedoCommand", typeof(DesignerView)); 120public static readonly ICommand AddAnnotationCommand = new RoutedCommand("AddAnnotationCommand", typeof(DesignerView)); 122public static readonly ICommand EditAnnotationCommand = new RoutedCommand("EditAnnotationCommand", typeof(DesignerView)); 124public static readonly ICommand DeleteAnnotationCommand = new RoutedCommand("DeleteAnnotationCommand", typeof(DesignerView)); 126public static readonly ICommand ShowAllAnnotationCommand = new RoutedCommand("ShowAllAnnotationCommand", typeof(DesignerView)); 128public static readonly ICommand HideAllAnnotationCommand = new RoutedCommand("HideAllAnnotationCommand", typeof(DesignerView)); 130public static readonly ICommand DeleteAllAnnotationCommand = new RoutedCommand("DeleteAllAnnotationCommand", typeof(DesignerView));
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (6)
209public static readonly ICommand CompleteWordCommand = new RoutedCommand("CompleteWordCommand", typeof(ExpressionTextBox)); 211public static readonly ICommand GlobalIntellisenseCommand = new RoutedCommand("GlobalIntellisenseCommand", typeof(ExpressionTextBox)); 213public static readonly ICommand ParameterInfoCommand = new RoutedCommand("ParameterInfoCommand", typeof(ExpressionTextBox)); 215public static readonly ICommand QuickInfoCommand = new RoutedCommand("QuickInfoCommand", typeof(ExpressionTextBox)); 217public static readonly ICommand IncreaseFilterLevelCommand = new RoutedCommand("IncreaseFilterLevelCommand", typeof(ExpressionTextBox)); 219public static readonly ICommand DecreaseFilterLevelCommand = new RoutedCommand("DecreaseFilterLevelCommand", typeof(ExpressionTextBox));
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (6)
72public static readonly ICommand CompleteWordCommand = new RoutedCommand("CompleteWordCommand", typeof(VisualBasicEditor)); 74public static readonly ICommand GlobalIntellisenseCommand = new RoutedCommand("GlobalIntellisenseCommand", typeof(VisualBasicEditor)); 76public static readonly ICommand ParameterInfoCommand = new RoutedCommand("ParameterInfoCommand", typeof(VisualBasicEditor)); 78public static readonly ICommand QuickInfoCommand = new RoutedCommand("QuickInfoCommand", typeof(VisualBasicEditor)); 80public static readonly ICommand IncreaseFilterLevelCommand = new RoutedCommand("IncreaseFilterLevelCommand", typeof(VisualBasicEditor)); 82public static readonly ICommand DecreaseFilterLevelCommand = new RoutedCommand("DecreaseFilterLevelCommand", typeof(VisualBasicEditor));
167 references to RoutedCommand
PresentationCore (12)
Core\CSharp\System\Windows\Input\Command\CommandBindingCollection.cs (2)
391RoutedCommand routedCommand = commandBinding.Command as RoutedCommand;
Core\CSharp\System\Windows\Input\Command\CommandDevice.cs (3)
120RoutedCommand command = GetRoutedCommand(rawAppCommandInputReport.AppCommand); 145private RoutedCommand GetRoutedCommand( int appCommandId ) 147RoutedCommand appCommand = null;
Core\CSharp\System\Windows\Input\Command\CommandManager.cs (7)
473RoutedCommand routedCommand = command as RoutedCommand; 509private static bool ExecuteCommand(RoutedCommand routedCommand, object parameter, IInputElement target, InputEventArgs inputEventArgs) 756RoutedCommand command = e.Command as RoutedCommand; 777RoutedCommand command = e.Command as RoutedCommand;
PresentationFramework (99)
src\Framework\MS\Internal\AppModel\OleCmdHelper.cs (5)
328public CommandWithArgument(RoutedCommand command) : this(command, null) 335public CommandWithArgument(RoutedCommand command, object argument) 337_command = new SecurityCriticalDataForSet<RoutedCommand>(command); 396public RoutedCommand Command 409private SecurityCriticalDataForSet<RoutedCommand> _command;
src\Framework\MS\Internal\Commands\CommandHelpers.cs (19)
24internal static void RegisterCommandHandler(Type controlType, RoutedCommand command, ExecutedRoutedEventHandler executedRoutedEventHandler) 29internal static void RegisterCommandHandler(Type controlType, RoutedCommand command, ExecutedRoutedEventHandler executedRoutedEventHandler, 35internal static void RegisterCommandHandler(Type controlType, RoutedCommand command, ExecutedRoutedEventHandler executedRoutedEventHandler, 41internal static void RegisterCommandHandler(Type controlType, RoutedCommand command, ExecutedRoutedEventHandler executedRoutedEventHandler, 47internal static void RegisterCommandHandler(Type controlType, RoutedCommand command, ExecutedRoutedEventHandler executedRoutedEventHandler, 53internal static void RegisterCommandHandler(Type controlType, RoutedCommand command, ExecutedRoutedEventHandler executedRoutedEventHandler, 59internal static void RegisterCommandHandler(Type controlType, RoutedCommand command, ExecutedRoutedEventHandler executedRoutedEventHandler, 65internal static void RegisterCommandHandler(Type controlType, RoutedCommand command, ExecutedRoutedEventHandler executedRoutedEventHandler, 71internal static void RegisterCommandHandler(Type controlType, RoutedCommand command, ExecutedRoutedEventHandler executedRoutedEventHandler, 79internal static void RegisterCommandHandler(Type controlType, RoutedCommand command, Key key, ModifierKeys modifierKeys, 85internal static void RegisterCommandHandler(Type controlType, RoutedCommand command, ExecutedRoutedEventHandler executedRoutedEventHandler, 92internal static void RegisterCommandHandler(Type controlType, RoutedCommand command, ExecutedRoutedEventHandler executedRoutedEventHandler, 100private static void PrivateRegisterCommandHandler(Type controlType, RoutedCommand command, ExecutedRoutedEventHandler executedRoutedEventHandler, 131RoutedCommand routed = command as RoutedCommand; 180RoutedCommand routed = command as RoutedCommand; 201RoutedCommand routed = command as RoutedCommand;
src\Framework\System\Windows\Automation\Peers\ButtonBaseAutomationPeer.cs (2)
50RoutedCommand command = owner.Command as RoutedCommand;
src\Framework\System\Windows\Controls\DataGrid.cs (4)
2058public static readonly RoutedCommand BeginEditCommand = new RoutedCommand("BeginEdit", typeof(DataGrid)); 2064public static readonly RoutedCommand CommitEditCommand = new RoutedCommand("CommitEdit", typeof(DataGrid)); 2071public static readonly RoutedCommand CancelEditCommand = new RoutedCommand("CancelEdit", typeof(DataGrid)); 3331private bool EndEdit(RoutedCommand command, DataGridCell cellContainer, DataGridEditingUnit editingUnit, bool exitEditMode)
src\Framework\System\Windows\Controls\InkCanvas.cs (3)
2137internal static readonly RoutedCommand DeselectCommand = new RoutedCommand("Deselect", typeof(InkCanvas)); 2918RoutedCommand command = (RoutedCommand)(args.Command);
src\Framework\System\Windows\Controls\MenuItem.cs (2)
1122RoutedCommand routedCommand; 1125&& (routedCommand = menuItem.Command as RoutedCommand) != null )
src\Framework\System\Windows\Controls\PasswordBox.cs (1)
125RoutedCommand command = ApplicationCommands.Paste;
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (22)
234public static readonly RoutedCommand LineUpCommand = new RoutedCommand("LineUp", typeof(ScrollBar)); 238public static readonly RoutedCommand LineDownCommand = new RoutedCommand("LineDown", typeof(ScrollBar)); 242public static readonly RoutedCommand LineLeftCommand = new RoutedCommand("LineLeft", typeof(ScrollBar)); 246public static readonly RoutedCommand LineRightCommand = new RoutedCommand("LineRight", typeof(ScrollBar)); 250public static readonly RoutedCommand PageUpCommand = new RoutedCommand("PageUp", typeof(ScrollBar)); 254public static readonly RoutedCommand PageDownCommand = new RoutedCommand("PageDown", typeof(ScrollBar)); 258public static readonly RoutedCommand PageLeftCommand = new RoutedCommand("PageLeft", typeof(ScrollBar)); 262public static readonly RoutedCommand PageRightCommand = new RoutedCommand("PageRight", typeof(ScrollBar)); 266public static readonly RoutedCommand ScrollToEndCommand = new RoutedCommand("ScrollToEnd", typeof(ScrollBar)); 270public static readonly RoutedCommand ScrollToHomeCommand = new RoutedCommand("ScrollToHome", typeof(ScrollBar)); 274public static readonly RoutedCommand ScrollToRightEndCommand = new RoutedCommand("ScrollToRightEnd", typeof(ScrollBar)); 278public static readonly RoutedCommand ScrollToLeftEndCommand = new RoutedCommand("ScrollToLeftEnd", typeof(ScrollBar)); 282public static readonly RoutedCommand ScrollToTopCommand = new RoutedCommand("ScrollToTop", typeof(ScrollBar)); 286public static readonly RoutedCommand ScrollToBottomCommand = new RoutedCommand("ScrollToBottom", typeof(ScrollBar)); 290public static readonly RoutedCommand ScrollToHorizontalOffsetCommand = new RoutedCommand("ScrollToHorizontalOffset", typeof(ScrollBar)); 294public static readonly RoutedCommand ScrollToVerticalOffsetCommand = new RoutedCommand("ScrollToVerticalOffset", typeof(ScrollBar)); 298public static readonly RoutedCommand DeferScrollToHorizontalOffsetCommand = new RoutedCommand("DeferScrollToToHorizontalOffset", typeof(ScrollBar)); 302public static readonly RoutedCommand DeferScrollToVerticalOffsetCommand = new RoutedCommand("DeferScrollToVerticalOffset", typeof(ScrollBar)); 307public static readonly RoutedCommand ScrollHereCommand = new RoutedCommand("ScrollHere", typeof(ScrollBar)); 418RoutedCommand command = (Orientation == Orientation.Horizontal) ? DeferScrollToHorizontalOffsetCommand : DeferScrollToVerticalOffsetCommand; 435RoutedCommand command = null; 903private static MenuItem CreateMenuItem(string name, string automationId, RoutedCommand command)
src\Framework\System\Windows\Controls\Slider.cs (12)
90private static RoutedCommand _increaseLargeCommand = null; 91private static RoutedCommand _increaseSmallCommand = null; 92private static RoutedCommand _decreaseLargeCommand = null; 93private static RoutedCommand _decreaseSmallCommand = null; 94private static RoutedCommand _minimizeValueCommand = null; 95private static RoutedCommand _maximizeValueCommand = null; 100public static RoutedCommand IncreaseLarge 107public static RoutedCommand DecreaseLarge 114public static RoutedCommand IncreaseSmall 121public static RoutedCommand DecreaseSmall 128public static RoutedCommand MinimizeValue 135public static RoutedCommand MaximizeValue
src\Framework\System\Windows\Controls\StickyNote.cs (6)
533public static readonly RoutedCommand DeleteNoteCommand = new RoutedCommand("DeleteNote", typeof(StickyNoteControl)); 538public static readonly RoutedCommand InkCommand = new RoutedCommand("Ink", typeof(StickyNoteControl)); 1746RoutedCommand command = (RoutedCommand)(args.Command); 1782RoutedCommand command = (RoutedCommand)( args.Command );
src\Framework\System\Windows\Input\Command\CommandConverter.cs (4)
82RoutedCommand command = context != null ? context.Instance as RoutedCommand : null; 193RoutedCommand command = value as RoutedCommand;
src\Framework\System\Windows\Input\Command\CommandValueSerializer.cs (6)
31RoutedCommand command = value as RoutedCommand; 71RoutedCommand command = value as RoutedCommand; 109RoutedCommand command = value as RoutedCommand;
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
628case 536: t = () => typeof(RoutedCommand); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8564typeof(System.Windows.Input.RoutedCommand),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
6080case KnownElements.RoutedCommand: t = typeof(System.Windows.Input.RoutedCommand); break;
src\Framework\System\Windows\Shell\ThumbButtonInfo.cs (4)
262RoutedCommand routedCommand = command as RoutedCommand; 302RoutedCommand routed = Command as RoutedCommand;
src\Framework\System\Windows\SystemCommands.cs (5)
13public static RoutedCommand CloseWindowCommand { get; private set; } 14public static RoutedCommand MaximizeWindowCommand { get; private set; } 15public static RoutedCommand MinimizeWindowCommand { get; private set; } 16public static RoutedCommand RestoreWindowCommand { get; private set; } 17public static RoutedCommand ShowSystemMenuCommand { get; private set; }
src\Framework\System\Windows\Window.cs (1)
3417internal static readonly RoutedCommand DialogCancelCommand = new RoutedCommand("DialogCancel", typeof(Window));
System.Activities.Core.Presentation (13)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (3)
47public static readonly RoutedCommand SetAsStartNodeCommand = new RoutedCommand("SetAsStartNode", typeof(FlowchartDesigner)); 49public static readonly RoutedCommand ShowAllConditionsCommand = new RoutedCommand("ShowAllConditionsCommand", typeof(FlowchartDesigner)); 50public static readonly RoutedCommand HideAllConditionsCommand = new RoutedCommand("HideAllConditionsCommand", typeof(FlowchartDesigner));
System\Activities\Core\Presentation\FlowchartDesignerCommands.cs (1)
9public static readonly RoutedCommand ConnectNodesCommand = new RoutedCommand("ConnectNodes", typeof(FlowchartDesignerCommands));
System\Activities\Core\Presentation\PickDesigner.xaml.cs (1)
21public static readonly RoutedCommand CreateBranchCommand = new RoutedCommand("CreateBranchCommand", typeof(PickDesigner));
System\Activities\Core\Presentation\StateDesigner.xaml.cs (1)
42public static readonly RoutedCommand SetAsInitialCommand = new RoutedCommand("SetAsInitial", typeof(StateDesigner));
System\Activities\Presentation\DynamicArgumentDesigner.xaml.cs (4)
61public static readonly RoutedCommand CreateDynamicArgumentCommand = new RoutedCommand("CreateDynamicArgumentCommand", typeof(DynamicArgumentDesigner)); 62public static readonly RoutedCommand MoveUpArgumentCommand = new RoutedCommand("MoveUpArgumentCommand", typeof(DynamicArgumentDesigner)); 63public static readonly RoutedCommand MoveDownArgumentCommand = new RoutedCommand("MoveDownArgumentCommand", typeof(DynamicArgumentDesigner)); 64public static readonly RoutedCommand DeleteArgumentCommand = new RoutedCommand("DeleteArgumentCommand", typeof(DynamicArgumentDesigner));
System\ServiceModel\Activities\Presentation\CorrelationDataDesigner.xaml.cs (1)
42public static readonly RoutedCommand AddNewDataCommand = new RoutedCommand("AddNewDataCommand", typeof(CorrelationDataDesigner));
System\ServiceModel\Activities\Presentation\ReceiveDesigner.xaml.cs (1)
40public static readonly RoutedCommand CreateSendReplyCommand = new RoutedCommand("CreateSendReply", typeof(ReceiveDesigner));
System\ServiceModel\Activities\Presentation\SendDesigner.xaml.cs (1)
41public static readonly RoutedCommand CreateReceiveReplyCommand = new RoutedCommand("CreateReceiveReply", typeof(SendDesigner));
System.Activities.Presentation (43)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryContainerCommands.cs (4)
20private static readonly RoutedCommand togglePinAdvancedProperties = new RoutedCommand("TogglePinAdvancedProperties", typeof(CategoryContainerCommands)); 21private static readonly RoutedCommand updateCategoryExpansionState = new RoutedCommand("UpdateCategoryExpansionState", typeof(CategoryContainerCommands)); 26public static RoutedCommand TogglePinAdvancedProperties 34public static RoutedCommand UpdateCategoryExpansionState
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\PropertyContainerPopupHelper.cs (2)
25public static readonly RoutedCommand OnBeginExtendedEdit = new RoutedCommand("OnBeginExtendedEdit", typeof(PropertyContainerPopup)); 26public static readonly RoutedCommand OnEndExtendedEdit = new RoutedCommand("OnEndExtendedEdit", typeof(PropertyContainerPopup));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ValueEditorUtils.cs (2)
68RoutedCommand routedCommand = command as RoutedCommand;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyContainer.cs (2)
33private static RoutedCommand _openDialogWindow; 536public static RoutedCommand OpenDialogWindow
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyValueEditorCommands.cs (16)
11private static RoutedCommand _showInlineEditor; 12private static RoutedCommand _showExtendedPopupEditor; 13private static RoutedCommand _showExtendedPinnedEditor; 14private static RoutedCommand _showDialogEditor; 17private static RoutedCommand _beginTransaction; 18private static RoutedCommand _commitTransaction; 19private static RoutedCommand _abortTransaction; 25private static RoutedCommand _finishEditing; 30public static RoutedCommand ShowInlineEditor { 42public static RoutedCommand ShowExtendedPopupEditor { 54public static RoutedCommand ShowExtendedPinnedEditor { 66public static RoutedCommand ShowDialogEditor { 78public static RoutedCommand BeginTransaction { 91public static RoutedCommand CommitTransaction { 104public static RoutedCommand AbortTransaction { 117public static RoutedCommand FinishEditing {
System.Activities.Presentation\System\Activities\Presentation\DefaultCommandExtensionCallback.cs (3)
94RoutedCommand cmd = commandInfo.Command as RoutedCommand; 111protected bool ContainsGesture(RoutedCommand cmd, KeyGesture gesture)
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxControl.cs (1)
382((RoutedCommand)DesignerView.CreateWorkflowElementCommand).Execute(dataObject, target);
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (3)
500RoutedCommand cmd = this.AddNewRowCommand as RoutedCommand; 1459((RoutedCommand)DesignerView.CommitCommand).Execute(null, etb);
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (8)
167RoutedCommand cmd = binding.Command as RoutedCommand; 186RoutedCommand cmd = binding.Command as RoutedCommand; 205RoutedCommand cmd = binding.Command as RoutedCommand; 589cmd => string.Equals(cmd, null != item.Command && item.Command is RoutedCommand ? ((RoutedCommand)item.Command).Name : item.Name)))
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (2)
650RoutedCommand cmd = DesignerView.CommitCommand as RoutedCommand;