1 interface inheriting from ICommand
PresentationCore (1)
Core\CSharp\System\Windows\Input\Command\ISecureCommand.cs (1)
38internal interface ISecureCommand : ICommand
3 implementations of ICommand
PresentationCore (1)
Core\CSharp\System\Windows\Input\Command\RoutedCommand.cs (1)
28public class RoutedCommand : ICommand
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\DelegateCommand.cs (1)
12internal sealed class DelegateCommand : ICommand
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\DelegateCommand.cs (1)
12internal sealed class DelegateCommand : ICommand
315 references to ICommand
PresentationCore (44)
Core\CSharp\System\Windows\Input\Command\CanExecuteChangedEventManager.cs (11)
47public static void AddHandler(ICommand source, EventHandler<EventArgs> handler) 59public static void RemoveHandler(ICommand source, EventHandler<EventArgs> handler) 99ICommand command = source as ICommand; 195private void PrivateAddHandler(ICommand source, EventHandler<EventArgs> handler) 213private void PrivateRemoveHandler(ICommand source, EventHandler<EventArgs> handler) 371public HandlerSink(CanExecuteChangedEventManager manager, ICommand source, EventHandler<EventArgs> originalHandler) 422public bool Matches(ICommand source, EventHandler<EventArgs> handler) 424return (_source != null && (ICommand)_source.Target == source) && 432ICommand source = (ICommand)_source.Target;
Core\CSharp\System\Windows\Input\Command\CanExecuteRoutedEventArgs.cs (3)
30internal CanExecuteRoutedEventArgs(ICommand command, object parameter) 48public ICommand Command 99private ICommand _command;
Core\CSharp\System\Windows\Input\Command\CommandBinding.cs (5)
40public CommandBinding(ICommand command) 50public CommandBinding(ICommand command, ExecutedRoutedEventHandler executed) 61public CommandBinding(ICommand command, ExecutedRoutedEventHandler executed, CanExecuteRoutedEventHandler canExecute) 88public ICommand Command 229private ICommand _command;
Core\CSharp\System\Windows\Input\Command\CommandBindingCollection.cs (2)
386internal ICommand FindMatch(object targetElement, InputEventArgs inputEventArgs) 408internal CommandBinding FindMatch(ICommand command, ref int index)
Core\CSharp\System\Windows\Input\Command\CommandDevice.cs (3)
329internal CommandDeviceEventArgs(CommandDevice commandDevice, int timestamp, ICommand command) 343internal ICommand Command 359private ICommand _command;
Core\CSharp\System\Windows\Input\Command\CommandManager.cs (3)
353ICommand command = null; 634private static void FindCommandBinding(object sender, RoutedEventArgs e, ICommand command, bool execute) 739private static void FindCommandBinding(CommandBindingCollection commandBindings, object sender, RoutedEventArgs e, ICommand command, bool execute)
Core\CSharp\System\Windows\Input\Command\ExecutedRoutedEventArgs.cs (3)
30internal ExecutedRoutedEventArgs(ICommand command, object parameter) 48public ICommand Command 80private ICommand _command;
Core\CSharp\System\Windows\Input\Command\ICommand.cs (1)
9[assembly:TypeForwardedTo(typeof(System.Windows.Input.ICommand))]
Core\CSharp\System\Windows\Input\Command\ICommandSource.cs (1)
22ICommand Command
Core\CSharp\System\Windows\Input\Command\InputBinding.cs (6)
46public InputBinding(ICommand command, InputGesture gesture) 73DependencyProperty.Register("Command", typeof(ICommand), typeof(InputBinding), new UIPropertyMetadata(null, new PropertyChangedCallback(OnCommandPropertyChanged))); 85public ICommand Command 89return (ICommand)GetValue(CommandProperty); 109inputBinding.CheckSecureCommand((ICommand)e.NewValue, inputBinding.Gesture); 204void CheckSecureCommand(ICommand command, InputGesture gesture)
Core\CSharp\System\Windows\Input\Command\KeyBinding.cs (2)
59public KeyBinding(ICommand command, KeyGesture gesture) : base(command, gesture) 70public KeyBinding(ICommand command, Key key, ModifierKeys modifiers) :
Core\CSharp\System\Windows\Input\Command\MouseBinding.cs (2)
61internal MouseBinding(ICommand command, MouseAction mouseAction) 71public MouseBinding(ICommand command, MouseGesture gesture) : base(command, gesture)
Core\CSharp\System\Windows\Input\Command\RoutedCommand.cs (2)
98void ICommand.Execute(object parameter) 113bool ICommand.CanExecute(object parameter)
PresentationFramework (58)
src\Framework\MS\Internal\Commands\CommandHelpers.cs (3)
125ICommand command = commandSource.Command; 174ICommand command = commandSource.Command; 199internal static void ExecuteCommand(ICommand command, object parameter, IInputElement target)
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
2839ICommand command = args.Command;
src\Framework\System\Windows\Controls\MenuItem.cs (11)
393(ICommand)null, 401public ICommand Command 403get { return (ICommand) GetValue(CommandProperty); } 410item.OnCommandChanged((ICommand) e.OldValue, (ICommand) e.NewValue); 413private void OnCommandChanged(ICommand oldCommand, ICommand newCommand) 428private void UnhookCommand(ICommand command) 434private void HookCommand(ICommand command) 1314ICommand command = item as ICommand;
src\Framework\System\Windows\Controls\Primitives\ButtonBase.cs (10)
193typeof(ICommand), 195new FrameworkPropertyMetadata((ICommand)null, 270public ICommand Command 274return (ICommand) GetValue(CommandProperty); 285b.OnCommandChanged((ICommand)e.OldValue, (ICommand)e.NewValue); 288private void OnCommandChanged(ICommand oldCommand, ICommand newCommand) 300private void UnhookCommand(ICommand command) 306private void HookCommand(ICommand command)
src\Framework\System\Windows\Documents\Hyperlink.cs (10)
152typeof(ICommand), 154new FrameworkPropertyMetadata((ICommand)null, 162public ICommand Command 166return (ICommand)GetValue(CommandProperty); 177h.OnCommandChanged((ICommand)e.OldValue, (ICommand)e.NewValue); 180private void OnCommandChanged(ICommand oldCommand, ICommand newCommand) 192private void UnhookCommand(ICommand command) 198private void HookCommand(ICommand command)
src\Framework\System\windows\Documents\TextEditorTyping.cs (2)
1116private static bool HandleEnterBreakForRichText(TextEditor This, ICommand command) 1187private static bool HandleEnterBreakWhenStructuralBoundaryIsCrossed(TextEditor This, ICommand command)
src\Framework\System\Windows\Input\Command\CommandConverter.cs (5)
117ICommand command = ConvertFromHelper( ownerType, localName ); 134internal static ICommand ConvertFromHelper(Type ownerType, string localName ) 136ICommand command = null; 153command = propertyInfo.GetValue(null, null) as ICommand; 160command = fieldInfo.GetValue(null) as ICommand;
src\Framework\System\Windows\Input\Command\CommandValueSerializer.cs (1)
166ICommand command = CommandConverter.ConvertFromHelper( declaringType, commandName );
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
368case 276: t = () => typeof(ICommand); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (2)
6948typeof(System.Windows.Input.ICommand), // type 6953bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Input.CommandBinding)target).Command = (System.Windows.Input.ICommand)value; };
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5204typeof(System.Windows.Input.ICommand),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5820case KnownElements.ICommand: t = typeof(System.Windows.Input.ICommand); break;
src\Framework\System\Windows\Shell\ThumbButtonInfo.cs (10)
173typeof(ICommand), 181var oldCommand = (ICommand)e.OldValue; 182var newCommand = (ICommand)e.NewValue; 256ICommand command = Command; 277private void UnhookCommand(ICommand command) 284private void HookCommand(ICommand command) 320public ICommand Command 322get { return (ICommand)GetValue(CommandProperty); }
System (10)
compmod\system\collections\specialized\marshalinghelpers.cs (10)
405private static ConditionalWeakTable<ICommand, EventRegistrationTokenTable<EventHandler>> m_weakTable = 406new ConditionalWeakTable<ICommand, EventRegistrationTokenTable<EventHandler>>(); 411ICommand _this = JitHelpers.UnsafeCast<ICommand>(this); 424ICommand _this = JitHelpers.UnsafeCast<ICommand>(this); 436ICommand _this = JitHelpers.UnsafeCast<ICommand>(this); 442ICommand _this = JitHelpers.UnsafeCast<ICommand>(this);
System.Activities.Core.Presentation (3)
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\CorrelationInitializerDesigner.xaml.cs (1)
31static readonly ICommand AddNewInitializerCommand = new RoutedCommand();
System.Activities.Presentation (100)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CategoryList.cs (2)
54private ICommand _clearFilterCommand; 138public ICommand ClearFilterCommand
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\DelegateCommand.cs (2)
29void ICommand.Execute(object arg) 34bool ICommand.CanExecute(object arg)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (18)
65public static readonly DependencyProperty BeginCommandProperty = DependencyProperty.Register("BeginCommand", typeof(ICommand), typeof(ChoiceEditor), new PropertyMetadata(null)); 66public static readonly DependencyProperty UpdateCommandProperty = DependencyProperty.Register("UpdateCommand", typeof(ICommand), typeof(ChoiceEditor), new PropertyMetadata(null)); 67public static readonly DependencyProperty CancelCommandProperty = DependencyProperty.Register("CancelCommand", typeof(ICommand), typeof(ChoiceEditor), new PropertyMetadata(null)); 68public static readonly DependencyProperty CommitCommandProperty = DependencyProperty.Register("CommitCommand", typeof(ICommand), typeof(ChoiceEditor), new PropertyMetadata(null)); 69public static readonly DependencyProperty FinishEditingCommandProperty = DependencyProperty.Register("FinishEditingCommand", typeof(ICommand), typeof(ChoiceEditor), new PropertyMetadata(null)); 276public ICommand BeginCommand 278get { return (ICommand)this.GetValue(ChoiceEditor.BeginCommandProperty); } 286public ICommand UpdateCommand 288get { return (ICommand)this.GetValue(ChoiceEditor.UpdateCommandProperty); } 295public ICommand CancelCommand 297get { return (ICommand)this.GetValue(ChoiceEditor.CancelCommandProperty); } 304public ICommand CommitCommand 306get { return (ICommand)this.GetValue(ChoiceEditor.CommitCommandProperty); } 315public ICommand FinishEditingCommand 317get { return (ICommand)this.GetValue(ChoiceEditor.FinishEditingCommandProperty); } 334public ICommand NextValueCommand 346public ICommand PreviousValueCommand 982ICommand finishedEditingCommand = this.FinishEditingCommand;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\StringEditor.cs (16)
30public static readonly DependencyProperty BeginCommandProperty = DependencyProperty.Register("BeginCommand", typeof(ICommand), typeof(StringEditor), new PropertyMetadata(null)); 31public static readonly DependencyProperty CommitCommandProperty = DependencyProperty.Register("CommitCommand", typeof(ICommand), typeof(StringEditor), new PropertyMetadata(null)); 32public static readonly DependencyProperty CancelCommandProperty = DependencyProperty.Register("CancelCommand", typeof(ICommand), typeof(StringEditor), new PropertyMetadata(null)); 33public static readonly DependencyProperty FinishEditingCommandProperty = DependencyProperty.Register("FinishEditingCommand", typeof(ICommand), typeof(StringEditor), new PropertyMetadata(null)); 34public static readonly DependencyProperty LostFocusCommandProperty = DependencyProperty.Register("LostFocusCommand", typeof(ICommand), typeof(StringEditor), new PropertyMetadata(null)); 81public ICommand BeginCommand 83get { return (ICommand)this.GetValue(StringEditor.BeginCommandProperty); } 87public ICommand CommitCommand 89get { return (ICommand)this.GetValue(StringEditor.CommitCommandProperty); } 93public ICommand CancelCommand 95get { return (ICommand)this.GetValue(StringEditor.CancelCommandProperty); } 99public ICommand FinishEditingCommand 101get { return (ICommand)this.GetValue(StringEditor.FinishEditingCommandProperty); } 105public ICommand LostFocusCommand 107get { return (ICommand)this.GetValue(StringEditor.LostFocusCommandProperty); } 360ICommand finishedEditingCommand = this.FinishEditingCommand;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ValueEditorUtils.cs (1)
66public static void ExecuteCommand(ICommand command, IInputElement element, object parameter)
System.Activities.Presentation\System\Activities\Presentation\DefaultCommandExtensionCallback.cs (2)
20Dictionary<ICommand, List<KeyGesture>> defaultGestures = new Dictionary<ICommand, List<KeyGesture>>();
System.Activities.Presentation\System\Activities\Presentation\Hosting\IWorkflowCommandExtensionCallback.cs (2)
13internal CommandInfo(ICommand command) 19public ICommand Command
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (4)
43DependencyProperty.Register("AddNewRowCommand", typeof(ICommand), typeof(DataGridHelper), new UIPropertyMetadata(null)); 313.Any(cb => ICommand.Equals(cb.Command, PropertyValueEditorCommands.ShowDialogEditor)); 369public ICommand AddNewRowCommand 371get { return (ICommand)GetValue(AddNewRowCommandProperty); }
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (41)
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)); 363ICommand cmd = menuItem.Command;
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));
System.Data (100)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CategoryList.cs (2)
54private ICommand _clearFilterCommand; 138public ICommand ClearFilterCommand
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\DelegateCommand.cs (2)
29void ICommand.Execute(object arg) 34bool ICommand.CanExecute(object arg)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (18)
65public static readonly DependencyProperty BeginCommandProperty = DependencyProperty.Register("BeginCommand", typeof(ICommand), typeof(ChoiceEditor), new PropertyMetadata(null)); 66public static readonly DependencyProperty UpdateCommandProperty = DependencyProperty.Register("UpdateCommand", typeof(ICommand), typeof(ChoiceEditor), new PropertyMetadata(null)); 67public static readonly DependencyProperty CancelCommandProperty = DependencyProperty.Register("CancelCommand", typeof(ICommand), typeof(ChoiceEditor), new PropertyMetadata(null)); 68public static readonly DependencyProperty CommitCommandProperty = DependencyProperty.Register("CommitCommand", typeof(ICommand), typeof(ChoiceEditor), new PropertyMetadata(null)); 69public static readonly DependencyProperty FinishEditingCommandProperty = DependencyProperty.Register("FinishEditingCommand", typeof(ICommand), typeof(ChoiceEditor), new PropertyMetadata(null)); 276public ICommand BeginCommand 278get { return (ICommand)this.GetValue(ChoiceEditor.BeginCommandProperty); } 286public ICommand UpdateCommand 288get { return (ICommand)this.GetValue(ChoiceEditor.UpdateCommandProperty); } 295public ICommand CancelCommand 297get { return (ICommand)this.GetValue(ChoiceEditor.CancelCommandProperty); } 304public ICommand CommitCommand 306get { return (ICommand)this.GetValue(ChoiceEditor.CommitCommandProperty); } 315public ICommand FinishEditingCommand 317get { return (ICommand)this.GetValue(ChoiceEditor.FinishEditingCommandProperty); } 334public ICommand NextValueCommand 346public ICommand PreviousValueCommand 982ICommand finishedEditingCommand = this.FinishEditingCommand;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\StringEditor.cs (16)
30public static readonly DependencyProperty BeginCommandProperty = DependencyProperty.Register("BeginCommand", typeof(ICommand), typeof(StringEditor), new PropertyMetadata(null)); 31public static readonly DependencyProperty CommitCommandProperty = DependencyProperty.Register("CommitCommand", typeof(ICommand), typeof(StringEditor), new PropertyMetadata(null)); 32public static readonly DependencyProperty CancelCommandProperty = DependencyProperty.Register("CancelCommand", typeof(ICommand), typeof(StringEditor), new PropertyMetadata(null)); 33public static readonly DependencyProperty FinishEditingCommandProperty = DependencyProperty.Register("FinishEditingCommand", typeof(ICommand), typeof(StringEditor), new PropertyMetadata(null)); 34public static readonly DependencyProperty LostFocusCommandProperty = DependencyProperty.Register("LostFocusCommand", typeof(ICommand), typeof(StringEditor), new PropertyMetadata(null)); 81public ICommand BeginCommand 83get { return (ICommand)this.GetValue(StringEditor.BeginCommandProperty); } 87public ICommand CommitCommand 89get { return (ICommand)this.GetValue(StringEditor.CommitCommandProperty); } 93public ICommand CancelCommand 95get { return (ICommand)this.GetValue(StringEditor.CancelCommandProperty); } 99public ICommand FinishEditingCommand 101get { return (ICommand)this.GetValue(StringEditor.FinishEditingCommandProperty); } 105public ICommand LostFocusCommand 107get { return (ICommand)this.GetValue(StringEditor.LostFocusCommandProperty); } 360ICommand finishedEditingCommand = this.FinishEditingCommand;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ValueEditorUtils.cs (1)
66public static void ExecuteCommand(ICommand command, IInputElement element, object parameter)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DefaultCommandExtensionCallback.cs (2)
20Dictionary<ICommand, List<KeyGesture>> defaultGestures = new Dictionary<ICommand, List<KeyGesture>>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Hosting\IWorkflowCommandExtensionCallback.cs (2)
13internal CommandInfo(ICommand command) 19public ICommand Command
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (4)
43DependencyProperty.Register("AddNewRowCommand", typeof(ICommand), typeof(DataGridHelper), new UIPropertyMetadata(null)); 313.Any(cb => ICommand.Equals(cb.Command, PropertyValueEditorCommands.ShowDialogEditor)); 369public ICommand AddNewRowCommand 371get { return (ICommand)GetValue(AddNewRowCommandProperty); }
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (41)
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)); 363ICommand cmd = menuItem.Command;
cdf\src\NetFx40\Tools\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));
cdf\src\NetFx40\Tools\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));