cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (28)
67this.dgHelper.Context = this.Context;
221var treeManager = this.Context.Services.GetService<ModelTreeManager>();
274ModelItem current = this.Context.Items.GetValue<Selection>().PrimarySelection;
303if (null != this.Context && !this.isSelectionSourceInternal)
309this.Context.Items.SetValue(new Selection(variable.Content));
314Selection oldSelection = this.Context.Items.GetValue<Selection>();
326this.Context.Items.SetValue(new Selection(newSelection));
334if (null != this.Context)
336this.Context.Items.Subscribe<Selection>(new SubscribeContextCallback<Selection>(OnItemSelected));
338this.dgHelper.Context = this.Context;
349if (this.Context.Services.GetService<UndoEngine>().IsUndoRedoInProgress)
355var current = this.Context.Items.GetValue<Selection>().PrimarySelection;
383Selection selection = this.Context.Items.GetValue<Selection>();
412var isUndoRedoInProgress = this.Context.Services.GetService<UndoEngine>().IsUndoRedoInProgress;
471bool isUndoRedoInProgress = this.Context.Services.GetService<UndoEngine>().IsUndoRedoInProgress;
503this.Context.Items.SetValue(newSelection);
586DesignerConfigurationService configurationService = this.Context.Services.GetService<DesignerConfigurationService>();
654ContextMenuUtilities.OnAnnotationMenuLoaded(this.Context, (Control)sender, e);
659ContextMenuUtilities.OnAnnotationMenuLoaded(this.Context, (Control)sender, e);
664ContextMenuUtilities.OnAddAnnotationCommandCanExecute(e, this.Context, this.variableDataGrid);
672dialog.Context = Context;
675WindowHelperService service = this.Context.Services.GetService<WindowHelperService>();
696ContextMenuUtilities.OnAnnotationMenuLoaded(this.Context, (Control)sender, e);
702ContextMenuUtilities.OnDeleteAnnotationCommandCanExecute(e, this.Context, this.variableDataGrid);
712dialog.Context = Context;
716WindowHelperService service = this.Context.Services.GetService<WindowHelperService>();
734ContextMenuUtilities.OnAnnotationMenuLoaded(this.Context, (Control)sender, e);
739ContextMenuUtilities.OnDeleteAnnotationCommandCanExecute(e, this.Context, this.variableDataGrid);