31 references to DesignerTheme
System.Workflow.Activities (9)
Designers\ConditionalDesigner.cs (1)
88
CompositeDesignerTheme compositeDesignerTheme = e.
DesignerTheme
as CompositeDesignerTheme;
Designers\ListenDesigner.cs (1)
68
CompositeDesignerTheme compositeDesignerTheme = e.
DesignerTheme
as CompositeDesignerTheme;
Designers\SetStateDesigner.cs (2)
173
e.
DesignerTheme
.Font,
178
e.
DesignerTheme
.ForegroundBrush);
Designers\StateDesigner.cs (1)
1563
ActivityDesignerTheme designerTheme = e.
DesignerTheme
;
Designers\StateDesignerConnector.cs (3)
143
StateMachineTheme theme = e.
DesignerTheme
as StateMachineTheme;
171
StateMachineTheme theme = e.
DesignerTheme
as StateMachineTheme;
208
StateMachineTheme theme = e.
DesignerTheme
as StateMachineTheme;
Designers\WhileDesigner.cs (1)
36
CompositeDesignerTheme compositeDesignerTheme = e.
DesignerTheme
as CompositeDesignerTheme;
System.Workflow.ComponentModel (22)
AuthoringOM\Design\ActivityDesigner.cs (3)
1676
Font font = (SmartTagVisible) ? e.
DesignerTheme
.BoldFont : e.
DesignerTheme
.Font;
1677
ActivityDesignerPaint.DrawText(e.Graphics, font, Text, TextRectangle, StringAlignment.Near, e.AmbientTheme.TextQuality, e.
DesignerTheme
.ForegroundBrush);
AuthoringOM\Design\ActivityPreviewDesigner.cs (1)
545
e.Graphics.DrawLine(e.
DesignerTheme
.ForegroundPen, this.separatorLine[0], this.separatorLine[1]);
AuthoringOM\Design\CompositeActivityDesigner.cs (1)
1229
CompositeDesignerTheme compositeDesignerTheme = e.
DesignerTheme
as CompositeDesignerTheme;
AuthoringOM\Design\Connector.cs (4)
440
CompositeDesignerTheme theme = e.
DesignerTheme
as CompositeDesignerTheme;
445
ActivityDesignerPaint.DrawConnectors(e.Graphics, e.
DesignerTheme
.ForegroundPen, new List<Point>(ConnectorSegments).ToArray(), arrowCapSize, maxCapSize, theme.ConnectorStartCap, theme.ConnectorEndCap);
451
CompositeDesignerTheme theme = e.
DesignerTheme
as CompositeDesignerTheme;
478
CompositeDesignerTheme theme = e.
DesignerTheme
as CompositeDesignerTheme;
AuthoringOM\Design\ParallelActivityDesigner.cs (2)
331
CompositeDesignerTheme compositeDesignerTheme = e.
DesignerTheme
as CompositeDesignerTheme;
406
CompositeDesignerTheme compositeDesignerTheme = e.
DesignerTheme
as CompositeDesignerTheme;
AuthoringOM\Design\SequentialActivityDesigner.cs (1)
401
CompositeDesignerTheme compositeDesignerTheme = e.
DesignerTheme
as CompositeDesignerTheme;
AuthoringOM\Design\SequentialWorkflowHeaderFooter.cs (5)
209
if (!String.IsNullOrEmpty(Text) && !TextRectangle.Size.IsEmpty && e.
DesignerTheme
!= null && e.
DesignerTheme
.Font != null)
212
using (Font font = new Font(e.
DesignerTheme
.Font.FontFamily, e.
DesignerTheme
.Font.SizeInPoints + 1.0f, (this.AssociatedDesigner.SmartTagVisible) ? FontStyle.Bold : FontStyle.Regular))
213
ActivityDesignerPaint.DrawText(e.Graphics, font, Text, TextRectangle, StringAlignment.Center, TextQuality.AntiAliased, e.
DesignerTheme
.ForegroundBrush);
AuthoringOM\Design\SequentialWorkflowRootDesigner.cs (5)
295
CompositeDesignerTheme compositeDesignerTheme = e.
DesignerTheme
as CompositeDesignerTheme;
385
Color color2 = Color.FromArgb(50, e.
DesignerTheme
.BorderColor);
389
e.Graphics.DrawLine(e.
DesignerTheme
.BorderPen, rectangle.Left, rectangle.Bottom, rectangle.Right, rectangle.Bottom);
472
Color color2 = Color.FromArgb(50, e.
DesignerTheme
.BorderColor);
476
e.Graphics.DrawLine(e.
DesignerTheme
.BorderPen, rectangle.Left, rectangle.Top, rectangle.Right, rectangle.Top);