1 write to RootDesigner
System.Workflow.ComponentModel (1)
AuthoringOM\Design\WorkflowView.cs (1)
192
RootDesigner
= ActivityDesigner.GetSafeRootDesigner(this);
53 references to RootDesigner
System.Workflow.ComponentModel (53)
AuthoringOM\Design\CommandSet.cs (2)
528
(this.workflowView.
RootDesigner
!= null && this.workflowView.
RootDesigner
.Activity == activity))
AuthoringOM\Design\MessageFilters\DragDropManager.cs (1)
117
else if (parentView.
RootDesigner
!= null && this.dragStarted && (eventArgs.Button & MouseButtons.Left) > 0 && (Math.Abs(this.dragInitiationPoint.X - logicalPoint.X) > SystemInformation.DragSize.Width || Math.Abs(this.dragInitiationPoint.Y - logicalPoint.Y) > SystemInformation.DragSize.Height))
AuthoringOM\Design\MessageFilters\DragSelectionMessageFilter.cs (2)
213
if (!DragRectangle.IsEmpty && parentView.
RootDesigner
!= null)
215
ActivityDesigner[] intersectingDesigners = CompositeActivityDesigner.GetIntersectingDesigners(parentView.
RootDesigner
, DragRectangle);
AuthoringOM\Design\MessageFilters\FreeFormDragDropManager.cs (1)
158
using (Region clipRegion = new Region(ActivityDesignerPaint.GetDesignerPath(ParentView.
RootDesigner
, false)))
AuthoringOM\Design\MessageFilters\WindowManager.cs (6)
39
selectedObject = parentView.
RootDesigner
.Activity;
351
if (parentView.
RootDesigner
!= null)
355
((IWorkflowDesignerMessageSink)parentView.
RootDesigner
).OnLayoutSize(graphics);
365
((IWorkflowDesignerMessageSink)parentView.
RootDesigner
).OnLayoutPosition(graphics);
388
if (parentView.
RootDesigner
!= null)
389
((IWorkflowDesignerMessageSink)parentView.
RootDesigner
).OnThemeChange();
AuthoringOM\Design\WorkflowLayouts.cs (18)
85
Size rootDesignerSize = (this.parentView.
RootDesigner
!= null) ? this.parentView.
RootDesigner
.Size : Size.Empty;
144
if (this.parentView.
RootDesigner
!= null &&
145
this.parentView.
RootDesigner
.Bounds.Width >= 0 && this.parentView.
RootDesigner
.Bounds.Height >= 0)
169
using (Region clipRegion = new Region(ActivityDesignerPaint.GetDesignerPath(this.parentView.
RootDesigner
, false)))
175
graphics.FillRectangle(Brushes.White, this.parentView.
RootDesigner
.Bounds);
178
ActivityDesignerPaint.DrawImage(graphics, ambientTheme.WorkflowWatermarkImage, this.parentView.
RootDesigner
.Bounds, new Rectangle(Point.Empty, ambientTheme.WorkflowWatermarkImage.Size), ambientTheme.WatermarkAlignment, AmbientTheme.WatermarkTransparency, false);
216
Size rootDesignerSize = (this.parentView.
RootDesigner
!= null) ? this.parentView.
RootDesigner
.Size : Size.Empty;
232
if (this.parentView.
RootDesigner
!= null &&
233
this.parentView.
RootDesigner
.Bounds.Width >= 0 && this.parentView.
RootDesigner
.Bounds.Height >= 0)
257
Rectangle rootBounds = this.parentView.
RootDesigner
.Bounds;
385
Size rootDesignerSize = (this.parentView.
RootDesigner
!= null) ? this.parentView.
RootDesigner
.Size : Size.Empty;
725
Size rootDesignerSize = (this.parentView.
RootDesigner
!= null) ? this.parentView.
RootDesigner
.Size : Size.Empty;
AuthoringOM\Design\WorkflowPrinting.cs (7)
103
printArgs.Cancel = (!validPrinter || this.workflowView.
RootDesigner
== null);
163
using (PaintEventArgs paintEventArgs = new PaintEventArgs(graphics, this.workflowView.
RootDesigner
.Bounds))
165
((IWorkflowDesignerMessageSink)this.workflowView.
RootDesigner
).OnPaint(paintEventArgs, viewPort);
311
((IWorkflowDesignerMessageSink)this.workflowView.
RootDesigner
).OnLayoutSize(graphics);
312
((IWorkflowDesignerMessageSink)this.workflowView.
RootDesigner
).OnLayoutPosition(graphics);
313
this.workflowView.
RootDesigner
.Location = Point.Empty;
316
Size rootDesignerSize = this.workflowView.
RootDesigner
.Size;
AuthoringOM\Design\WorkflowView.cs (16)
1502
if (
RootDesigner
!= null &&
RootDesigner
.Activity != null)
1505
if (selectionService != null && selectionService.GetComponentSelected(
RootDesigner
.Activity))
1509
helpService.AddContextAttribute("Keyword",
RootDesigner
.Activity.GetType().FullName, HelpKeywordType.F1Keyword);
1529
ActivityDesigner rootDesigner =
RootDesigner
;
1592
if (workflowView.
RootDesigner
!= null)
1595
using (GraphicsPath designerPath = ActivityDesignerPaint.GetDesignerPath(workflowView.
RootDesigner
, false))
1604
viewPortGraphics.FillRectangle(ambientTheme.BackgroundBrush, workflowView.
RootDesigner
.Bounds);
1606
ActivityDesignerPaint.DrawGrid(viewPortGraphics, workflowView.
RootDesigner
.Bounds);
1614
((IWorkflowDesignerMessageSink)workflowView.
RootDesigner
).OnPaint(paintEventArgs, viewPortData.LogicalViewPort);
1628
using (PaintEventArgs paintArgs = new PaintEventArgs(viewPortGraphics, workflowView.
RootDesigner
.Bounds))
2172
if (this.workflowView.
RootDesigner
!= null && this.workflowView.stockMessageFilters.Count > 0)
2188
HitTestInfo hitTestInfo = this.workflowView.
RootDesigner
.HitTest(logicalPoint);
2313
return (this.workflowView.
RootDesigner
!= null && index == 0) ? this.workflowView.
RootDesigner
.AccessibilityObject : base.GetChild(index);
2318
return (this.workflowView.
RootDesigner
!= null) ? 1 : -1;