109 references to Bounds
System.Workflow.Activities (13)
Designers\ConditionalDesigner.cs (1)
94Rectangle bounds = Bounds;
Designers\ListenDesigner.cs (1)
74Rectangle bounds = Bounds;
Designers\SetStateDesigner.cs (1)
91Rectangle bounds = this.Bounds;
Designers\StateDesigner.cs (9)
801Rectangle bounds = this.Bounds; 812Rectangle bounds = this.Bounds; 1428moveBounds = stateDesigner.Bounds; 1430moveBounds = Rectangle.Union(moveBounds, stateDesigner.Bounds); 1457maximumY = Math.Max(maximumY, stateDesigner.Bounds.Bottom); 1461if (maximumY > this.Bounds.Bottom) 1463Size newSize = new Size(this.Size.Width, this.Size.Height + ((maximumY + DefaultStateDesignerAutoLayoutDistance) - this.Bounds.Bottom)); 1485maximumY = stateDesigner.Bounds.Bottom + DefaultStateDesignerAutoLayoutDistance; 1502Rectangle bounds = designer.Bounds;
Designers\WhileDesigner.cs (1)
41Rectangle bounds = Bounds;
System.Workflow.ComponentModel (93)
AuthoringOM\Design\ActivityDesigner.cs (10)
538Rectangle bounds = Bounds; 562Rectangle bounds = Bounds; 942Rectangle bounds = Bounds; 1017parentView.InvalidateLogicalRectangle(Bounds); 1037rectangle = Rectangle.Intersect(Bounds, rectangle); 1071Rectangle bounds = Bounds; 1078designer.OnPaint(new ActivityDesignerPaintEventArgs(graphics, designer.Bounds, viewPort, designer.DesignerTheme)); 1176Rectangle bounds = Bounds; 2921OnBeginResizing(new ActivityDesignerResizeEventArgs(sizingEdge, Bounds)); 2965Rectangle bounds = Bounds;
AuthoringOM\Design\ActivityDesignerAccessibleObject.cs (1)
57return this.activityDesigner.InternalRectangleToScreen(this.activityDesigner.Bounds);
AuthoringOM\Design\ActivityPreviewDesigner.cs (2)
393(this.previewWindow.PreviewMode || PreviewedDesigner == null || !PreviewedDesigner.Bounds.Contains(point))) 571Rectangle bounds = Bounds;
AuthoringOM\Design\CompositeActivityDesigner.cs (8)
240Rectangle bounds = Bounds; 296Rectangle bounds = Bounds; 331Rectangle bounds = Bounds; 683if (!rectangle.IntersectsWith(topLevelDesigner.Bounds)) 686if (!topLevelDesigner.Bounds.Contains(rectangle)) 702if (activityDesigner.IsVisible && rectangle.IntersectsWith(activityDesigner.Bounds)) 706if (!activityDesigner.Bounds.Contains(rectangle)) 1084else if (Expanded && Bounds.Contains(point))
AuthoringOM\Design\Connector.cs (7)
109designerEdge = DesignerGeometryHelper.ClosestEdgeToPoint(Location, this.associatedDesigner.Bounds, designerEdge); 587workflowView.InvalidateLogicalRectangle(this.parentDesigner.Bounds); 592workflowView.InvalidateLogicalRectangle(this.parentDesigner.Bounds); 1530Point[] routedPoints = ConnectorRouter.Route(sourcePoint, targetPoint, new Size(2 * ambientTheme.Margin.Width, 2 * ambientTheme.Margin.Height), rootDesigner.Bounds, rectanglesToExclude.ToArray(), linesToExclude.ToArray(), pointsToExclude.ToArray()); 1537routedPoints = ConnectorRouter.Route(sourcePoint, targetPoint, ambientTheme.Margin, rootDesigner.Bounds, new Rectangle[] { }, linesToExclude.ToArray(), new Point[] { }); 1608Rectangle rectangleToExclude = activityDesigner.Bounds; 1659Rectangle bounds = designer.Bounds;
AuthoringOM\Design\DesignerHelpers.cs (3)
496Rectangle designerBounds = designer.Bounds; 541Rectangle bounds = designer.Bounds; 581Rectangle bounds = activityDesigner.Bounds;
AuthoringOM\Design\DesignerInterfaces.cs (1)
639return this.activityDesigner.Bounds;
AuthoringOM\Design\DesignerWidgets.cs (2)
3374this.canvasBounds.Size = PreviewDesigner.Bounds.Size; 3481Rectangle previewDesignerViewPort = PreviewDesigner.Bounds;
AuthoringOM\Design\FreeFormDesigner.cs (12)
556hitInfo.AssociatedDesigner.Bounds.Contains(point)) 811Rectangle bounds = Bounds; 1062workflowView.InvalidateLogicalRectangle(designer.ParentDesigner.Bounds); 1083clipRegion = new Region(connectorContainer.Bounds); 1116leftTop.X = (activityDesigner.Bounds.Left < leftTop.X) ? activityDesigner.Bounds.Left : leftTop.X; 1117leftTop.Y = (activityDesigner.Bounds.Top < leftTop.Y) ? activityDesigner.Bounds.Top : leftTop.Y; 1118rightBottom.X = (rightBottom.X < activityDesigner.Bounds.Right) ? activityDesigner.Bounds.Right : rightBottom.X; 1119rightBottom.Y = (rightBottom.Y < activityDesigner.Bounds.Bottom) ? activityDesigner.Bounds.Bottom : rightBottom.Y;
AuthoringOM\Design\Glyphs\CommentGlyph.cs (1)
35Rectangle bounds = designer.Bounds;
AuthoringOM\Design\Glyphs\ConfigErrorGlyph.cs (2)
52Point configErrorLocation = new Point(designer.Bounds.Right - configErrorSize.Width - margin.Width / 2, designer.Bounds.Top - configErrorSize.Height + margin.Height);
AuthoringOM\Design\Glyphs\ConnectionPointGlyph.cs (2)
26Rectangle clipRectangle = (designer.ParentDesigner != null) ? designer.ParentDesigner.Bounds : designer.Bounds;
AuthoringOM\Design\Glyphs\LockedActivityGlyph.cs (1)
39Rectangle bounds = designer.Bounds;
AuthoringOM\Design\Glyphs\ReadOnlyActivityGlyph.cs (1)
23Rectangle bounds = designer.Bounds;
AuthoringOM\Design\Glyphs\SelectionGlyph.cs (1)
20Rectangle rectangle = designer.Bounds;
AuthoringOM\Design\Glyphs\ShadowGlyph.cs (2)
31Rectangle bounds = designer.Bounds; 42ActivityDesignerPaint.DrawDropShadow(graphics, designer.Bounds, designer.DesignerTheme.BorderPen.Color, AmbientTheme.DropShadowWidth, LightSourcePosition.Left | LightSourcePosition.Top, 0.5f, drawRounded);
AuthoringOM\Design\MessageFilters\ConnectionManager.cs (4)
238connector.OnPaintSelected(new ActivityDesignerPaintEventArgs(e.Graphics, connector.ParentDesigner.Bounds, viewPort, connector.ParentDesigner.DesignerTheme), (selectedComponents == selectionService.PrimarySelection), new Point[] { }); 248editableConnector.OnPaint(new ActivityDesignerPaintEventArgs(e.Graphics, selectedConnector.ParentDesigner.Bounds, viewPort, selectedConnector.ParentDesigner.DesignerTheme), true, true); 255this.connectorEditor.OnPaint(new ActivityDesignerPaintEventArgs(e.Graphics, designer.Bounds, viewPort, designer.DesignerTheme), false, false); 577bool addSnapPoints = (designer.Bounds.Contains(currentPoint));
AuthoringOM\Design\MessageFilters\GlyphManager.cs (3)
101return designer.Bounds; 355collection.AddRectangle(designer.Bounds); 392if ((viewPortEmpty || logicalViewPort.IntersectsWith(activityDesigner.Bounds)) && activityDesigner.IsVisible)
AuthoringOM\Design\MessageFilters\ResizingMessageFilter.cs (3)
194Rectangle designerBounds = designer.Bounds; 277clipBounds = designerToSize.ParentDesigner.Bounds; 282Rectangle designerBounds = designerToSize.Bounds;
AuthoringOM\Design\ParallelActivityDesigner.cs (5)
282Rectangle bounds = Bounds; 295Rectangle designerBounds1 = designer1.Bounds; 298Rectangle designerBounds2 = designer2.Bounds; 336Rectangle bounds = Bounds; 413Rectangle bounds = Bounds;
AuthoringOM\Design\SequentialActivityDesigner.cs (2)
206Rectangle startDesignerBounds = startDesigner.Bounds; 236Rectangle endDesignerBounds = endDesigner.Bounds;
AuthoringOM\Design\SequentialWorkflowHeaderFooter.cs (3)
118Rectangle designerBounds = this.rootDesigner.Bounds; 138Rectangle designerBounds = this.rootDesigner.Bounds; 160Rectangle designerBounds = this.rootDesigner.Bounds;
AuthoringOM\Design\SequentialWorkflowRootDesigner.cs (1)
303Rectangle bounds = Bounds;
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (2)
454return new Rectangle[] { Bounds }; 671Rectangle designerBounds = activityDesigner.Bounds;
AuthoringOM\Design\WorkflowLayouts.cs (7)
145this.parentView.RootDesigner.Bounds.Width >= 0 && this.parentView.RootDesigner.Bounds.Height >= 0) 175graphics.FillRectangle(Brushes.White, this.parentView.RootDesigner.Bounds); 178ActivityDesignerPaint.DrawImage(graphics, ambientTheme.WorkflowWatermarkImage, this.parentView.RootDesigner.Bounds, new Rectangle(Point.Empty, ambientTheme.WorkflowWatermarkImage.Size), ambientTheme.WatermarkAlignment, AmbientTheme.WatermarkTransparency, false); 233this.parentView.RootDesigner.Bounds.Width >= 0 && this.parentView.RootDesigner.Bounds.Height >= 0) 257Rectangle rootBounds = this.parentView.RootDesigner.Bounds;
AuthoringOM\Design\WorkflowPrinting.cs (1)
163using (PaintEventArgs paintEventArgs = new PaintEventArgs(graphics, this.workflowView.RootDesigner.Bounds))
AuthoringOM\Design\WorkflowView.cs (6)
1535viewPortData.LogicalViewPort = new Rectangle(Point.Empty, new Size(rootDesigner.Bounds.Width + 2 * DefaultWorkflowLayout.Separator.Width, rootDesigner.Bounds.Height + 2 * DefaultWorkflowLayout.Separator.Height)); 1604viewPortGraphics.FillRectangle(ambientTheme.BackgroundBrush, workflowView.RootDesigner.Bounds); 1606ActivityDesignerPaint.DrawGrid(viewPortGraphics, workflowView.RootDesigner.Bounds); 1628using (PaintEventArgs paintArgs = new PaintEventArgs(viewPortGraphics, workflowView.RootDesigner.Bounds)) 1719rectangleToMakeVisible = activityDesigner.Bounds;
System.WorkflowServices (3)
System\Workflow\ComponentModel\Design\ActivityDesignerHighlighter.cs (1)
209glyphs.Add(new HighlightOverlayGlyph(activityDesigner.Bounds, HighlightedDesigners));
System\Workflow\ComponentModel\Design\HighlightOverlayGlyph.cs (2)
59DesignerPainter.PaintDesigner(highlightedDesigner, new ActivityDesignerPaintEventArgs(graphics, designer.Bounds, designer.Bounds, null));