1 override of ConnectorSize
System.Workflow.Activities (1)
Designers\StateDesigner.cs (1)
2585
public override Size
ConnectorSize
69 references to ConnectorSize
System.Workflow.Activities (15)
Designers\ConditionalDesigner.cs (4)
98
diamondRectangle.Width = compositeDesignerTheme.
ConnectorSize
.Height - 2 * e.AmbientTheme.Margin.Height + 2;
101
diamondRectangle.Y = bounds.Top + TitleHeight + (compositeDesignerTheme.
ConnectorSize
.Height * 3 / 2 - diamondRectangle.Height) / 2 + 1;
109
diamondRectangle.Y = bounds.Bottom - compositeDesignerTheme.
ConnectorSize
.Height * 3 / 2 + (compositeDesignerTheme.
ConnectorSize
.Height * 3 / 2 - diamondRectangle.Height) / 2 + 1;
Designers\ListenDesigner.cs (4)
78
roundRectangle.Width = compositeDesignerTheme.
ConnectorSize
.Height - 2 * e.AmbientTheme.Margin.Height - 1;
81
roundRectangle.Y = bounds.Top + TitleHeight + (compositeDesignerTheme.
ConnectorSize
.Height * 3 / 2 - roundRectangle.Height) / 2;
86
roundRectangle.Y = bounds.Bottom - compositeDesignerTheme.
ConnectorSize
.Height * 3 / 2 + (compositeDesignerTheme.
ConnectorSize
.Height * 3 / 2 - roundRectangle.Height) / 2;
Designers\WhileDesigner.cs (7)
55
points[0].Y = bounds.Bottom - compositeDesignerTheme.
ConnectorSize
.Height / 3;
56
points[1].X = bounds.Right - compositeDesignerTheme.
ConnectorSize
.Width / 3;
57
points[1].Y = bounds.Bottom - compositeDesignerTheme.
ConnectorSize
.Height / 3;
58
points[2].X = bounds.Right - compositeDesignerTheme.
ConnectorSize
.Width / 3;
75
connectors[connectors.GetLength(0) - 1].Height = connectors[connectors.GetLength(0) - 1].Height - (((designerTheme != null) ? designerTheme.
ConnectorSize
.Height : 0) / 3);
87
containerSize.Width += 2 * compositeDesignerTheme.
ConnectorSize
.Width;
88
containerSize.Height += compositeDesignerTheme.
ConnectorSize
.Height;
System.Workflow.ComponentModel (54)
AuthoringOM\Design\ActivityPreviewDesigner.cs (3)
645
containerSize.Height -= previewDesignerTheme.
ConnectorSize
.Height;
799
dropConnector.Width = (dropConnector.Width > ((designerTheme != null) ? designerTheme.
ConnectorSize
.Width : 0)) ? ((designerTheme != null) ? designerTheme.
ConnectorSize
.Width : 0) : dropConnector.Width;
AuthoringOM\Design\Connector.cs (9)
443
Size arrowCapSize = new Size(theme.
ConnectorSize
.Width / 5, theme.
ConnectorSize
.Height / 5);
444
Size maxCapSize = theme.
ConnectorSize
;
457
Size arrowCapSize = new Size(theme.
ConnectorSize
.Width / 5, theme.
ConnectorSize
.Height / 5);
458
Size maxCapSize = theme.
ConnectorSize
;
485
Size arrowCapSize = new Size(theme.
ConnectorSize
.Width / 5, theme.
ConnectorSize
.Height / 5);
486
Size maxCapSize = theme.
ConnectorSize
;
AuthoringOM\Design\ParallelActivityDesigner.cs (22)
224
int height = compositeDesignerTheme.
ConnectorSize
.Height * 3 / 2;
228
width += compositeDesignerTheme.
ConnectorSize
.Width;
253
containerSize.Width += compositeDesignerTheme.
ConnectorSize
.Width;
258
containerSize.Width += (ContainedDesigners.Count > 0) ? compositeDesignerTheme.
ConnectorSize
.Width : 0;
265
containerSize.Height += 3 * compositeDesignerTheme.
ConnectorSize
.Height;
290
dropTargets[0].Size = new Size(((designerTheme != null) ? designerTheme.
ConnectorSize
.Width : 0), firstDesigner.Size.Height);
300
dropTargets[i + 1].Location = new Point(designerBounds1.Right + (designerBounds2.Left - designerBounds1.Right) / 2 - ((designerTheme != null) ? designerTheme.
ConnectorSize
.Width : 0) / 2, designerBounds1.Top);
301
dropTargets[i + 1].Size = new Size(((designerTheme != null) ? designerTheme.
ConnectorSize
.Width : 0), designerBounds1.Height);
306
dropTargets[containedDesigners.Count].Location = new Point(bounds.Right - ((designerTheme != null) ? designerTheme.
ConnectorSize
.Width : 0), lastDesigner.Location.Y);
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);
354
parallelLinks[1].Y = parallelConnectorTop + compositeDesignerTheme.
ConnectorSize
.Height * 3 / 4;
359
parallelLinks[0].Y = parallelConnectorTop + compositeDesignerTheme.
ConnectorSize
.Height * 3 / 4;
361
parallelLinks[1].Y = parallelConnectorTop + compositeDesignerTheme.
ConnectorSize
.Height * 3 / 4;
366
parallelLinks[0].Y = bounds.Bottom - compositeDesignerTheme.
ConnectorSize
.Height * 3 / 4;
368
parallelLinks[1].Y = bounds.Bottom - compositeDesignerTheme.
ConnectorSize
.Height * 3 / 4;
373
parallelLinks[0].Y = bounds.Bottom - compositeDesignerTheme.
ConnectorSize
.Height * 3 / 4;
386
connectingLine[0].Y = parallelConnectorTop + compositeDesignerTheme.
ConnectorSize
.Height * 3 / 4;
395
connectingLine[1].Y = bounds.Bottom - compositeDesignerTheme.
ConnectorSize
.Height * 3 / 4;
416
parallelConnectorTop += (containedDesigners.Count > 0) ? compositeDesignerTheme.
ConnectorSize
.Height * 3 / 4 : 0;
420
heightDelta -= (containedDesigners.Count > 0) ? compositeDesignerTheme.
ConnectorSize
.Height * 3 / 4 : 0;
AuthoringOM\Design\SequentialActivityDesigner.cs (13)
213
connectorBounds[0].Location = new Point(containerStartConnection.X - ((designerTheme != null) ? designerTheme.
ConnectorSize
.Width : 0) / 2, containerStartConnection.Y);
214
connectorBounds[0].Size = new Size(((designerTheme != null) ? designerTheme.
ConnectorSize
.Width : 0), startDesignerConnections[0].Y - containerStartConnection.Y);
226
connectorBounds[i + 1].Location = new Point(designerFromConnections[designerFromPointCount - 1].X - ((designerTheme != null) ? designerTheme.
ConnectorSize
.Width : 0) / 2, designerFromConnections[designerFromPointCount - 1].Y);
227
connectorBounds[i + 1].Size = new Size(((designerTheme != null) ? designerTheme.
ConnectorSize
.Width : 0), designerToConnections[0].Y - designerFromConnections[designerFromPointCount - 1].Y);
243
connectorBounds[connectorCount - 1].Location = new Point(endDesignerConnections[endDesignerConnections.Count - 1].X - ((designerTheme != null) ? designerTheme.
ConnectorSize
.Width : 0) / 2, endDesignerConnections[endDesignerConnections.Count - 1].Y);
244
connectorBounds[connectorCount - 1].Size = new Size(((designerTheme != null) ? designerTheme.
ConnectorSize
.Width : 0), containerEndConnection.Y - endDesignerConnections[endDesignerConnections.Count - 1].Y);
249
connectorBounds[0].Location = new Point(containerStartConnection.X - ((designerTheme != null) ? designerTheme.
ConnectorSize
.Width : 0) / 2, containerStartConnection.Y);
250
connectorBounds[0].Size = new Size(((designerTheme != null) ? designerTheme.
ConnectorSize
.Width : 0), containerEndConnection.Y - containerStartConnection.Y);
457
height += ((compositeDesignerTheme != null) ? compositeDesignerTheme.
ConnectorSize
.Height : 0);
464
height += designerSize.Height + ((compositeDesignerTheme != null) ? compositeDesignerTheme.
ConnectorSize
.Height : 0);
480
containerSize.Height += compositeDesignerTheme.
ConnectorSize
.Height; //Add the height of first connector
487
containerSize.Height += compositeDesignerTheme.
ConnectorSize
.Height;
495
containerSize.Height += compositeDesignerTheme.
ConnectorSize
.Height; //Add the height of last connector
AuthoringOM\Design\SequentialWorkflowRootDesigner.cs (4)
217
optimalHeight += designerTheme.
ConnectorSize
.Height; //Add the height of first connector
219
optimalHeight += designerTheme.
ConnectorSize
.Height; //Add the height of last connector
225
optimalHeight += designerTheme.
ConnectorSize
.Height;
234
optimalHeight += designerTheme.
ConnectorSize
.Height;
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (3)
478
arrowCapSize = new Size(compositeDesignerTheme.
ConnectorSize
.Width / 3, compositeDesignerTheme.
ConnectorSize
.Height / 3);
479
maxCapSize = compositeDesignerTheme.
ConnectorSize
;