27 references to Context
System.Activities.Presentation (27)
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (27)
231if (this.Context != null) 233ExpressionSelection current = this.Context.Items.GetValue<ExpressionSelection>(); 237this.Context.Items.SetValue(emptySelection); 343if (this.Context != null) 346this.Context.Items.SetValue(expressionSelection); 414if (this.Context == null) 419DesignerView designerView = this.Context.Services.GetService<DesignerView>(); 425if (this.Context != null) 427ReadOnlyState readOnlyState = this.Context.Items.GetValue<ReadOnlyState>(); 443if (this.Context != null) 446this.expressionEditorService = this.Context.Services.GetService<IExpressionEditorService>(); 472if (!LocalAppContextSwitches.UseLegacyAccessibilityFeatures && this.Context != null) 474if (this.Context.Services.Contains<Dictionary<string, object>>()) 476Dictionary<string, object> sessionObjects = this.Context.Services.GetService<Dictionary<string, object>>(); 516AssemblyContextControlItem assemblies = (AssemblyContextControlItem)this.Context.Items.GetValue(typeof(AssemblyContextControlItem)); 519ImportedNamespaceContextItem importedNamespaces = this.Context.Items.GetValue<ImportedNamespaceContextItem>(); 520importedNamespaces.EnsureInitialized(this.Context); 833if (this.perfProvider == null && this.Context != null) 835perfProvider = this.Context.Services.GetService<DesignerPerfEventProvider>(); 845if (this.Context != null) 847return this.Context.Services.GetService<ValidationService>(); 917ModelServiceImpl modelService = (ModelServiceImpl)this.Context.Services.GetService<ModelService>(); 957Fx.Assert(this.Context != null, "editing context cannot be null"); 961ImportDesigner.AddImport(reference.Import, this.Context); 1171if (null != this.Context) 1173this.Context.Items.SetValue(new ErrorItem() { Message = err.Message, Details = err.ToString() }); 1729IIntegratedHelpService help = this.Context.Services.GetService<IIntegratedHelpService>();