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