26 references to AmbientTheme
System.Workflow.Activities (10)
Designers\ConditionalDesigner.cs (1)
98
diamondRectangle.Width = compositeDesignerTheme.ConnectorSize.Height - 2 * e.
AmbientTheme
.Margin.Height + 2;
Designers\ListenDesigner.cs (1)
78
roundRectangle.Width = compositeDesignerTheme.ConnectorSize.Height - 2 * e.
AmbientTheme
.Margin.Height - 1;
Designers\SetStateDesigner.cs (1)
177
e.
AmbientTheme
.TextQuality,
Designers\StateDesigner.cs (1)
1564
AmbientTheme ambientTheme = e.
AmbientTheme
;
Designers\StateDesignerConnector.cs (2)
240
e.Graphics.DrawPath(e.
AmbientTheme
.SelectionForegroundPen, path);
246
e.Graphics.FillEllipse(e.
AmbientTheme
.SelectionForegroundBrush, bounds);
Designers\WhileDesigner.cs (4)
47
connectionPoint = new Point(imageRectangle.Right + e.
AmbientTheme
.Margin.Width / 2, imageRectangle.Top + imageRectangle.Height / 2);
49
connectionPoint = new Point(textRectangle.Right + e.
AmbientTheme
.Margin.Width / 2, textRectangle.Top + textRectangle.Height / 2);
51
connectionPoint = new Point(bounds.Left + bounds.Width / 2 + e.
AmbientTheme
.Margin.Width / 2, bounds.Top + e.
AmbientTheme
.Margin.Height / 2);
System.Workflow.ComponentModel (16)
AuthoringOM\Design\ActivityDesigner.cs (1)
1677
ActivityDesignerPaint.DrawText(e.Graphics, font, Text, TextRectangle, StringAlignment.Near, e.
AmbientTheme
.TextQuality, e.DesignerTheme.ForegroundBrush);
AuthoringOM\Design\Connector.cs (6)
175
e.Graphics.DrawEllipse(e.
AmbientTheme
.SelectionForegroundPen, bounds);
178
e.Graphics.FillEllipse(e.
AmbientTheme
.SelectionForegroundBrush, bounds);
482
using (Pen editableConnectorPen = new Pen(e.
AmbientTheme
.SelectionForegroundPen.Color, e.
AmbientTheme
.SelectionForegroundPen.Width))
529
e.Graphics.DrawPath(e.
AmbientTheme
.SelectionForegroundPen, path);
535
e.Graphics.FillEllipse(e.
AmbientTheme
.SelectionForegroundBrush, bounds);
AuthoringOM\Design\ParallelActivityDesigner.cs (5)
424
DrawConnectors(e.Graphics, e.
AmbientTheme
.DropIndicatorPen, new Point[] { new Point(dropTargetRectangle.Left + dropTargetRectangle.Width / 2, dropTargetRectangle.Top + 2), new Point(dropTargetRectangle.Left + dropTargetRectangle.Width / 2, dropTargetRectangle.Bottom - 2) }, compositeDesignerTheme.ConnectorStartCap, compositeDesignerTheme.ConnectorEndCap);
438
DrawConnectors(e.Graphics, e.
AmbientTheme
.DropIndicatorPen, connectorPoints, LineAnchor.None, LineAnchor.None);
442
DrawConnectors(e.Graphics, e.
AmbientTheme
.DropIndicatorPen, connectorPoints, LineAnchor.None, LineAnchor.None);
454
DrawConnectors(e.Graphics, e.
AmbientTheme
.DropIndicatorPen, connectorPoints, LineAnchor.None, LineAnchor.None);
458
DrawConnectors(e.Graphics, e.
AmbientTheme
.DropIndicatorPen, connectorPoints, LineAnchor.None, LineAnchor.None);
AuthoringOM\Design\SequentialActivityDesigner.cs (2)
415
ActivityDesignerPaint.DrawText(e.Graphics, compositeDesignerTheme.Font, this.HelpText, helpTextRectangle, StringAlignment.Center, e.
AmbientTheme
.TextQuality, compositeDesignerTheme.ForegroundBrush);
422
Pen pen = (i == CurrentDropTarget) ? e.
AmbientTheme
.DropIndicatorPen : compositeDesignerTheme.ForegroundPen;
AuthoringOM\Design\SequentialWorkflowRootDesigner.cs (2)
304
bounds.Inflate(-e.
AmbientTheme
.Margin.Width, -e.
AmbientTheme
.Margin.Height);