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