1 override of Size
System.Workflow.Activities (1)
Designers\StateDesigner.cs (1)
236public override Size Size
9 writes to Size
System.Workflow.Activities (2)
Designers\StateDesigner.cs (2)
256base.Size = value; 265base.Size = value;
System.Workflow.ComponentModel (7)
AuthoringOM\Design\ActivityDesigner.cs (2)
1984activityDesigner.Size = activityDesigner.OnLayoutSize(new ActivityDesignerLayoutEventArgs(graphics, activityDesigner.DesignerTheme)); 2910Size = OnLayoutSize(new ActivityDesignerLayoutEventArgs(graphics, DesignerTheme));
AuthoringOM\Design\ActivityPreviewDesigner.cs (1)
651PreviewedDesigner.Size = new Size(containerSize.Width - margins.Width, containerSize.Height - (TitleHeight + this.previewStrip.Size.Height + margins.Height));
AuthoringOM\Design\CompositeActivityDesigner.cs (1)
1284activityDesigner.Size = activityDesigner.DesignerTheme.Size;
AuthoringOM\Design\FreeFormDesigner.cs (2)
1050designer.Size = bounds.Size; 1354designer.Size = size;
AuthoringOM\Design\ParallelActivityDesigner.cs (1)
262activityDesigner.Size = new Size(activityDesigner.Size.Width, containerSize.Height);
50 references to Size
System.Workflow.Activities (8)
Designers\StateDesigner.cs (2)
240return base.Size; 268Size newSize = base.Size;
Designers\StateDesigner.Layouts.cs (6)
1159maximumX = Math.Max(maximumX, designer.Size.Width); 1160maximumY += designer.Size.Height + DefaultStateDesignerAutoLayoutDistance; 1324Size activeDesignerSize = activeDesigner.Size; 1347size.Width = Math.Max(size.Width, activeDesigner.Size.Width + ActiveDesignerPadding * 2); 1349size.Height = Math.Max(size.Height, activeDesigner.Size.Height + ActiveDesignerPadding * 2 + _designerLayout.Size.Height + ambientTheme.SelectionSize.Height * 2); 1384Size activeDesignerSize = this.StateDesigner.ActiveDesigner.Size;
System.Workflow.ComponentModel (38)
AuthoringOM\Design\ActivityDesigner.cs (3)
264return new Rectangle(Location, Size); 1060Bitmap designerImage = new Bitmap(Size.Width + (4 * ambientTheme.Margin.Width), Size.Height + (4 * ambientTheme.Margin.Height), PixelFormat.Format32bppArgb);
AuthoringOM\Design\ActivityPreviewDesigner.cs (4)
172PreviewedDesigner.Location = new Point(Location.X + (Size.Width - PreviewedDesigner.Size.Width) / 2, Location.Y + headerHeight + 2 * WorkflowTheme.CurrentTheme.AmbientTheme.Margin.Height); 595PreviewedDesigner.Location = new Point(Location.X + (Size.Width - PreviewedDesigner.Size.Width) / 2, Location.Y + headerHeight + 2 * e.AmbientTheme.Margin.Height);
AuthoringOM\Design\DesignerWidgets.cs (3)
3260location.X = this.canvasBounds.Left + this.canvasBounds.Width / 2 - PreviewDesigner.Size.Width / 2; 3261location.Y = this.canvasBounds.Top + this.canvasBounds.Height / 2 - PreviewDesigner.Size.Height / 2; 3562Size previewDesignerSize = previewDesigner.Size;
AuthoringOM\Design\FreeFormDesigner.cs (4)
518FreeformActivityDesigner.SetDesignerBounds(containedDesigner, new Rectangle(newLocation, containedDesigner.Size)); 988ParentView.InvalidateClientRectangle(new Rectangle(designer.Location, designer.Size)); 990ParentView.InvalidateClientRectangle(new Rectangle(designer.Location, designer.Size)); 1342size = designer.Size;
AuthoringOM\Design\ParallelActivityDesigner.cs (7)
229Size designerSize = activityDesigner.Size; 251Size childSize = activityDesigner.Size; 262activityDesigner.Size = new Size(activityDesigner.Size.Width, containerSize.Height); 290dropTargets[0].Size = new Size(((designerTheme != null) ? designerTheme.ConnectorSize.Width : 0), firstDesigner.Size.Height); 307dropTargets[containedDesigners.Count].Size = new Size(((designerTheme != null) ? designerTheme.ConnectorSize.Width : 0), lastDesigner.Size.Height); 311dropTargets[0].Location = new Point(Location.X + (Size.Width - ((designerTheme != null) ? designerTheme.ConnectorSize.Width : 0)) / 2, TextRectangle.Bottom); 312dropTargets[0].Size = new Size(((designerTheme != null) ? designerTheme.ConnectorSize.Width : 0), Location.Y + Size.Height - dropTargets[0].Location.Y);
AuthoringOM\Design\SequentialActivityDesigner.cs (5)
452heightDelta = Size.Height - (connectionPoints[connectionPoints.Count - 1].Y - connectionPoints[0].Y); 453height += (Size.Height - heightDelta) / 2 - ContainedDesigners[0].Size.Height / 2; 462Size designerSize = activityDesigner.Size; 484Size childSize = activityDesigner.Size;
AuthoringOM\Design\SequentialWorkflowRootDesigner.cs (3)
230Size childSize = activityDesigner.Size; 401headerBarRectangle.Width = AssociatedDesigner.Size.Width; 433bounds.Height = Math.Max(bounds.Height, rootDesigner.Size.Height - rootDesigner.TitleHeight - rootDesigner.OptimalHeight);
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (4)
544location.X += (Size.Width - activeDesigner.Size.Width) / 2; 564containerSize.Width = Math.Max(containerSize.Width, activeDesigner.Size.Width); 565containerSize.Height += activeDesigner.Size.Height;
AuthoringOM\Design\WorkflowLayouts.cs (4)
85Size rootDesignerSize = (this.parentView.RootDesigner != null) ? this.parentView.RootDesigner.Size : Size.Empty; 216Size rootDesignerSize = (this.parentView.RootDesigner != null) ? this.parentView.RootDesigner.Size : Size.Empty; 385Size rootDesignerSize = (this.parentView.RootDesigner != null) ? this.parentView.RootDesigner.Size : Size.Empty; 725Size rootDesignerSize = (this.parentView.RootDesigner != null) ? this.parentView.RootDesigner.Size : Size.Empty;
AuthoringOM\Design\WorkflowPrinting.cs (1)
316Size rootDesignerSize = this.workflowView.RootDesigner.Size;
System.WorkflowServices (4)
System\Workflow\Activities\ReceiveActivityDesigner.cs (1)
185Rectangle outgoingArrowRect = new Rectangle(this.Location.X + 22, this.Location.Y + this.Size.Height - 45, -24, 24);
System\Workflow\Activities\SendActivityDesigner.cs (3)
136Rectangle outgoingArrowRect = new Rectangle(this.Location.X + this.Size.Width - 24, this.Location.Y + 10, 24, 24); 137Rectangle incomingArrowRect = new Rectangle(this.Location.X + this.Size.Width, this.Location.Y + this.Size.Height - 35, -24, 24);