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