19 references to ForegroundPen
System.Workflow.Activities (6)
Designers\ConditionalDesigner.cs (2)
106
e.Graphics.DrawPath(compositeDesignerTheme.
ForegroundPen
, decisionDiamond);
113
e.Graphics.DrawPath(compositeDesignerTheme.
ForegroundPen
, decisionDiamond);
Designers\ListenDesigner.cs (2)
84
e.Graphics.DrawEllipse(compositeDesignerTheme.
ForegroundPen
, roundRectangle);
88
e.Graphics.DrawEllipse(compositeDesignerTheme.
ForegroundPen
, roundRectangle);
Designers\WhileDesigner.cs (2)
63
DrawConnectors(e.Graphics, compositeDesignerTheme.
ForegroundPen
, points, LineAnchor.None, LineAnchor.ArrowAnchor);
64
DrawConnectors(e.Graphics, compositeDesignerTheme.
ForegroundPen
, new Point[] { points[0], new Point(bounds.Left + bounds.Width / 2, bounds.Bottom) }, LineAnchor.None, LineAnchor.None);
System.Workflow.ComponentModel (13)
AuthoringOM\Design\ActivityPreviewDesigner.cs (1)
545
e.Graphics.DrawLine(e.DesignerTheme.
ForegroundPen
, this.separatorLine[0], this.separatorLine[1]);
AuthoringOM\Design\Connector.cs (3)
189
defaultSize = new Size(Math.Max(defaultSize.Width, (int)this.associatedDesigner.DesignerTheme.
ForegroundPen
.Width * 4), Math.Max(defaultSize.Height, (int)this.associatedDesigner.DesignerTheme.
ForegroundPen
.Width * 4));
445
ActivityDesignerPaint.DrawConnectors(e.Graphics, e.DesignerTheme.
ForegroundPen
, new List<Point>(ConnectorSegments).ToArray(), arrowCapSize, maxCapSize, theme.ConnectorStartCap, theme.ConnectorEndCap);
AuthoringOM\Design\ParallelActivityDesigner.cs (6)
355
DrawConnectors(e.Graphics, compositeDesignerTheme.
ForegroundPen
, parallelLinks, LineAnchor.None, LineAnchor.None);
362
DrawConnectors(e.Graphics, compositeDesignerTheme.
ForegroundPen
, parallelLinks, LineAnchor.None, LineAnchor.None);
369
DrawConnectors(e.Graphics, compositeDesignerTheme.
ForegroundPen
, parallelLinks, LineAnchor.None, LineAnchor.None);
376
DrawConnectors(e.Graphics, compositeDesignerTheme.
ForegroundPen
, parallelLinks, LineAnchor.None, LineAnchor.None);
389
DrawConnectors(e.Graphics, compositeDesignerTheme.
ForegroundPen
, connectingLine, compositeDesignerTheme.ConnectorStartCap, compositeDesignerTheme.ConnectorEndCap);
396
DrawConnectors(e.Graphics, compositeDesignerTheme.
ForegroundPen
, connectingLine, compositeDesignerTheme.ConnectorStartCap, compositeDesignerTheme.ConnectorEndCap);
AuthoringOM\Design\SequentialActivityDesigner.cs (3)
411
DrawConnectors(e.Graphics, compositeDesignerTheme.
ForegroundPen
, new Point[] { new Point(connectors[0].X + connectors[0].Width / 2, connectors[0].Y + 2), new Point(connectors[0].X + connectors[0].Width / 2, helpTextRectangle.Top - 2) }, compositeDesignerTheme.ConnectorStartCap, LineAnchor.None);
412
DrawConnectors(e.Graphics, compositeDesignerTheme.
ForegroundPen
, new Point[] { new Point(connectors[0].X + connectors[0].Width / 2, helpTextRectangle.Bottom + 2), new Point(connectors[0].X + connectors[0].Width / 2, connectors[0].Bottom - 2) }, LineAnchor.None, compositeDesignerTheme.ConnectorEndCap);
422
Pen pen = (i == CurrentDropTarget) ? e.AmbientTheme.DropIndicatorPen : compositeDesignerTheme.
ForegroundPen
;