126 references to Items
System.Data (126)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlSchemaContext.cs (1)
85
AssemblyContextControlItem assemblyItem = this.editingContext.
Items
.GetValue<AssemblyContextControlItem>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Annotations\AnnotationManager.cs (4)
129
this.floatingAnnotation.IsReadOnly = this.EditingContext.
Items
.GetValue<ReadOnlyState>().IsReadOnly;
148
this.dockedAnnotation.IsReadOnly = this.EditingContext.
Items
.GetValue<ReadOnlyState>().IsReadOnly;
231
this.EditingContext.
Items
.Subscribe<ReadOnlyState>(this.OnReadOnlyStateChanged);
272
this.EditingContext.
Items
.Unsubscribe<ReadOnlyState>(this.OnReadOnlyStateChanged);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (6)
185
Selection currentSelection = context.
Items
.GetValue<Selection>();
235
Selection currentSelection = context.
Items
.GetValue<Selection>();
423
ModelItem modelItem = context.
Items
.GetValue<Selection>().PrimarySelection;
715
Selection selection = context.
Items
.GetValue<Selection>();
726
Selection selection = context.
Items
.GetValue<Selection>();
743
ModelItem primarySelection = context.
Items
.GetValue<Selection>().PrimarySelection;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Debugger\DebuggerService.cs (4)
79
this.context.
Items
.Subscribe<Selection>(new SubscribeContextCallback<Selection>(this.SelectionChanged));
198
ReadOnlyState readOnlyState = this.context.
Items
.GetValue<ReadOnlyState>();
216
this.context.
Items
.SetValue(new ReadOnlyState() { IsReadOnly = readOnlyState.IsReadOnly });
717
return new SourceLocation(unresolvedPrefix + this.context.
Items
.GetValue<WorkflowFileItem>().LoadedFile, this.lastSourceLineNo++);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DeleteHelper.cs (2)
21
Selection selection = context.
Items
.GetValue<Selection>();
37
Selection selection = context.
Items
.GetValue<Selection>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
198
ReadOnlyState readOnlyState = context.
Items
.GetValue<ReadOnlyState>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\EditingContextUtilities.cs (2)
20
return editingContext.
Items
.GetValue<ReadOnlyState>().IsReadOnly;
27
Selection selection = editingContext.
Items
.GetValue<Selection>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ImmediateEditingScope.cs (1)
42
ReadOnlyState readOnlyState = this.modelTreeManager.Context.
Items
.GetValue<ReadOnlyState>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (1)
886
this.Context.
Items
.SetValue(new Selection(currentItem));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelPropertyCollectionImpl.cs (2)
118
if (context.
Items
.GetValue<ErrorItem>() == null)
120
context.
Items
.SetValue(new ErrorItem { Message = e.Message, Details = e.ToString() });
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (2)
66
this.editingContext.
Items
.Subscribe<Selection>(this.OnSelectionChanged);
123
Selection selection = this.editingContext.
Items
.GetValue<Selection>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (1)
845
ReadOnlyState readOnlyState = this.Context.
Items
.GetValue<ReadOnlyState>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NamespaceHelper.cs (1)
125
AssemblyContextControlItem assemblyContextItem = context.
Items
.GetValue<AssemblyContextControlItem>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (6)
193
ModelItem current = this.Context.
Items
.GetValue<Selection>().PrimarySelection;
239
this.Context.
Items
.SetValue(new Selection(argument.Content));
244
Selection oldSelection = this.Context.
Items
.GetValue<Selection>();
256
this.Context.
Items
.SetValue(new Selection(newSelection));
289
this.Context.
Items
.Subscribe<Selection>(new SubscribeContextCallback<Selection>(OnItemSelected));
344
this.Context.
Items
.SetValue(restoredSelection);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (10)
338
this.context.
Items
.Subscribe<WorkflowCommandExtensionItem>(new SubscribeContextCallback<WorkflowCommandExtensionItem>(updateCommands));
340
if (this.context.
Items
.Contains<WorkflowCommandExtensionItem>())
342
updateCommands(this.context.
Items
.GetValue<WorkflowCommandExtensionItem>());
393
Selection currentSelection = this.Context.
Items
.GetValue<Selection>();
1341
Selection selection = this.Context.
Items
.GetValue<Selection>();
1425
Selection selection = this.Context.
Items
.GetValue<Selection>();
1453
Selection selection = this.Context.
Items
.GetValue<Selection>();
1563
ContextMenuUtilities.OnAddAnnotationCommandExecuted(e, this.Context.
Items
.GetValue<Selection>().PrimarySelection);
1574
ContextMenuUtilities.OnEditAnnotationCommandExecuted(e, this.Context.
Items
.GetValue<Selection>().PrimarySelection);
1584
ContextMenuUtilities.OnDeleteAnnotationCommandExecuted(e, this.Context.
Items
.GetValue<Selection>().PrimarySelection);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (7)
281
ReadOnlyState state = this.Context.
Items
.GetValue<ReadOnlyState>();
283
this.Context.
Items
.Subscribe<ReadOnlyState>(OnReadOnlyStateChanged);
462
this.Context.
Items
.SetValue(selection);
871
designerView.Context.
Items
.SetValue(new ReadOnlyState() { IsReadOnly = (bool)e.NewValue });
1088
this.Context.
Items
.SetValue(new Selection());
1355
Selection selection = this.Context.
Items
.GetValue<Selection>();
1395
this.Context.
Items
.SetValue(new Selection(modelItemList));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (8)
172
this.Context.
Items
.SetValue(new Selection());
189
this.Context.
Items
.Subscribe<Selection>(this.OnItemSelectedCallback);
207
this.Context.
Items
.Unsubscribe<Selection>(this.OnItemSelectedCallback);
215
this.Context.
Items
.SetValue(new Selection(this.lastSelection));
223
this.lastSelection = this.Context.
Items
.GetValue<Selection>().PrimarySelection;
336
AssemblyContextControlItem assemblies = this.Context.
Items
.GetValue<AssemblyContextControlItem>();
452
this.importedNamespacesItem = this.Context.
Items
.GetValue<ImportedNamespaceContextItem>();
670
AssemblyContextControlItem assemblyItem = this.Context.
Items
.GetValue<AssemblyContextControlItem>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ParserContext.cs (2)
179
ImportedNamespaceContextItem importedNamespaces = this.context.
Items
.GetValue<ImportedNamespaceContextItem>();
254
AssemblyContextControlItem assemblyContext = this.context.
Items
.GetValue<AssemblyContextControlItem>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\RubberBandSelector.cs (3)
297
this.context.
Items
.SetValue(new Selection(selectedModelItems));
303
this.context.
Items
.SetValue(new Selection());
309
Selection curSelection = this.context.
Items
.GetValue<Selection>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\Selection.cs (11)
188
Selection existing = context.
Items
.GetValue<Selection>();
210
context.
Items
.SetValue(selection);
228
Selection existing = context.
Items
.GetValue<Selection>();
244
context.
Items
.SetValue(selection);
256
context.
Items
.Subscribe<Selection>(handler);
274
Selection existing = context.
Items
.GetValue<Selection>();
288
context.
Items
.SetValue(selection);
307
Selection existing = context.
Items
.GetValue<Selection>();
322
context.
Items
.SetValue(selection);
328
Selection selection = context.
Items
.GetValue<Selection>();
364
context.
Items
.Unsubscribe<Selection>(handler);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\DesignerTreeViewItem.cs (1)
155
this.ParentTreeView.Context.
Items
.SetValue(new Selection());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (1)
419
return (null != Context ? Context.
Items
.GetValue<AssemblyContextControlItem>() : null);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (8)
274
ModelItem current = this.Context.
Items
.GetValue<Selection>().PrimarySelection;
309
this.Context.
Items
.SetValue(new Selection(variable.Content));
314
Selection oldSelection = this.Context.
Items
.GetValue<Selection>();
326
this.Context.
Items
.SetValue(new Selection(newSelection));
336
this.Context.
Items
.Subscribe<Selection>(new SubscribeContextCallback<Selection>(OnItemSelected));
355
var current = this.Context.
Items
.GetValue<Selection>().PrimarySelection;
383
Selection selection = this.Context.
Items
.GetValue<Selection>();
503
this.Context.
Items
.SetValue(newSelection);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (8)
233
ExpressionSelection current = this.Context.
Items
.GetValue<ExpressionSelection>();
237
this.Context.
Items
.SetValue(emptySelection);
346
this.Context.
Items
.SetValue(expressionSelection);
427
ReadOnlyState readOnlyState = this.Context.
Items
.GetValue<ReadOnlyState>();
516
AssemblyContextControlItem assemblies = (AssemblyContextControlItem)this.Context.
Items
.GetValue(typeof(AssemblyContextControlItem));
519
ImportedNamespaceContextItem importedNamespaces = this.Context.
Items
.GetValue<ImportedNamespaceContextItem>();
1173
this.Context.
Items
.SetValue(new ErrorItem() { Message = err.Message, Details = err.ToString() });
1944
AssemblyContextControlItem assemblyContext = this.EditingContext.
Items
.GetValue<AssemblyContextControlItem>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewManager.cs (4)
51
oldSelection = this.context.
Items
.GetValue<Selection>();
54
Getter = (modelItem) => (this.context.
Items
.GetValue<Selection>().PrimarySelection == modelItem),
61
Getter = (modelItem) => (((IList)this.context.
Items
.GetValue<Selection>().SelectedObjects).Contains(modelItem)),
95
this.context.
Items
.Subscribe<Selection>(new SubscribeContextCallback<Selection>(OnItemSelected));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (12)
112
this.context.
Items
.SetValue(new ReadOnlyState { IsReadOnly = false });
172
this.Context.
Items
.Subscribe<ErrorItem>(delegate(ErrorItem errorItem)
189
this.context.
Items
.Subscribe<ReadOnlyState>(new SubscribeContextCallback<ReadOnlyState>(OnReadonlyStateChanged));
212
if (!this.context.
Items
.Contains<WorkflowCommandExtensionItem>())
215
this.context.
Items
.SetValue(item);
288
this.propertyInspector.DesignerContextItemManager = this.context.
Items
;
384
ErrorItem errorItem = this.context.
Items
.GetValue<ErrorItem>();
420
this.Context.
Items
.SetValue(new ErrorItem() { Message = SR.SeeErrorWindow, Details = details.ToString() });
430
this.Context.
Items
.SetValue(new ErrorItem() { Message = e.Message, Details = e.ToString() });
436
this.Context.
Items
.SetValue(new ErrorItem() { Message = string.Empty, Details = string.Empty });
474
this.context.
Items
.SetValue(fileItem);
488
this.Context.
Items
.SetValue(new ErrorItem() { Message = e.Message, Details = e.ToString() });
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.Debugger.cs (1)
74
wfSymbol.FileName = this.Context.
Items
.GetValue<WorkflowFileItem>().LoadedFile;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.Helpers.cs (2)
39
AssemblyContextControlItem assemblyItem = this.Context.
Items
.GetValue<AssemblyContextControlItem>();
117
ErrorItem errorItem = this.context.
Items
.GetValue<ErrorItem>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.SerializationHelpers.cs (1)
127
this.Context.
Items
.SetValue(new ErrorItem() { Message = e.Message, Details = e.ToString() });
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (2)
470
if (this.Context.
Items
.GetValue<Selection>().SelectedObjects.Contains(e.OldValue))
472
this.Context.
Items
.SetValue(new Selection(new ModelItem[] { }));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (4)
286
IList<ModelItem> selectedItems = this.Context.
Items
.GetValue<Selection>().SelectedObjects.ToList();
823
this.Context.
Items
.SetValue(new Selection(new ArrayList()));
840
Selection currentSelection = this.Context.
Items
.GetValue<Selection>();
879
this.Context.
Items
.SetValue(new Selection(modelItemsToSelect));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (7)
517
Selection selection = this.Context.
Items
.GetValue<Selection>();
655
bool isSelected = this.Context.
Items
.GetValue<Selection>().SelectedObjects.Contains<ModelItem>(this.ModelItem);
676
Selection selection = this.Context.
Items
.GetValue<Selection>();
720
Selection selection = this.Context.
Items
.GetValue<Selection>();
762
Selection selection = this.Context.
Items
.GetValue<Selection>();
924
Selection selection = this.Context.
Items
.GetValue<Selection>();
1033
this.Context.
Items
.SetValue(new Selection(selectedObjects));