3 writes to Context
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewService.cs (3)
63
viewElement.
Context
= this.context;
107
errorElement.
Context
= this.context;
186
viewElement.
Context
= this.context;
38 references to Context
System.Activities.Presentation (38)
System.Activities.Presentation\System\Activities\Presentation\ActivityDesigner.cs (2)
194
DesignerView designerView = this.
Context
.Services.GetService<DesignerView>();
236
DesignerView designerView = this.
Context
.Services.GetService<DesignerView>();
System.Activities.Presentation\System\Activities\Presentation\Annotations\AnnotationAdorner.cs (1)
138
DesignerView designerView = ((WorkflowViewElement)AdornedElement).
Context
.Services.GetService<DesignerView>();
System.Activities.Presentation\System\Activities\Presentation\Annotations\AnnotationManager.cs (1)
224
this.EditingContext = this.workflowViewElement.
Context
;
System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (1)
394
UIElement breadcrumbRoot = childElement.
Context
.Services.GetService<DesignerView>().RootDesigner;
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (3)
111
DesignerView designerView = viewElement.
Context
.Services.GetService<DesignerView>();
158
DesignerView view = draggedViewElement.
Context
.Services.GetService<DesignerView>();
738
designerView = viewElement.
Context
.Services.GetService<DesignerView>();
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (1)
377
this.context = parentViewElement.
Context
;
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (29)
113
if (this.ModelItem != null && this.
Context
!= null)
121
if (this.ModelItem != null && this.
Context
!= null)
145
if (this.
Context
!= null)
181
if (this.
Context
!= null)
217
DesignerView view = this.
Context
.Services.GetService<DesignerView>();
298
return ViewUtilities.DoesParentAlwaysExpandChildren(this.ModelItem, this.
Context
);
303
return ViewUtilities.DoesParentAlwaysCollapseChildren(this.ModelItem, this.
Context
);
361
Fx.Assert(this.
Context
!= null, "Context should not be null ");
362
ViewService viewService = this.
Context
.Services.GetService<ViewService>();
373
ViewStateService viewStateService = this.
Context
.Services.GetService<ViewStateService>();
383
DesignerView designer = this.
Context
.Services.GetService<DesignerView>();
401
get { return this.
Context
.Services.GetService<DesignerConfigurationService>().MultipleItemsDragDropEnabled; }
514
DesignerView designerView = this.
Context
.Services.GetService<DesignerView>();
517
Selection selection = this.
Context
.Items.GetValue<Selection>();
542
Selection.SelectOnly(this.
Context
, this.ModelItem);
573
DesignerView designerView = this.
Context
.Services.GetService<DesignerView>();
655
bool isSelected = this.
Context
.Items.GetValue<Selection>().SelectedObjects.Contains<ModelItem>(this.ModelItem);
661
Selection.Toggle(this.
Context
, this.ModelItem);
676
Selection selection = this.
Context
.Items.GetValue<Selection>();
687
Selection.SelectOnly(this.
Context
, this.ModelItem);
694
Selection.SelectOnly(this.
Context
, this.ModelItem);
720
Selection selection = this.
Context
.Items.GetValue<Selection>();
762
Selection selection = this.
Context
.Items.GetValue<Selection>();
768
Selection.Toggle(this.
Context
, this.ModelItem);
772
Selection.SelectOnly(this.
Context
, this.ModelItem);
827
Selection.Toggle(this.
Context
, this.ModelItem);
831
Selection.SelectOnly(this.
Context
, this.ModelItem);
924
Selection selection = this.
Context
.Items.GetValue<Selection>();
1033
this.
Context
.Items.SetValue(new Selection(selectedObjects));