18 references to DesignerTheme
System.Workflow.Activities (4)
Designers\SetStateDesigner.cs (1)
154
Font font = e.
DesignerTheme
.Font;
Designers\StateDesigner.cs (2)
1375
ActivityDesignerTheme designerTheme = e.
DesignerTheme
;
1538
ActivityDesignerTheme designerTheme = e.
DesignerTheme
;
Designers\WhileDesigner.cs (1)
84
CompositeDesignerTheme compositeDesignerTheme = e.
DesignerTheme
as CompositeDesignerTheme;
System.Workflow.ComponentModel (14)
AuthoringOM\Design\ActivityDesigner.cs (4)
1711
Size actualTextSize = ActivityDesignerPaint.MeasureString(e.Graphics, e.
DesignerTheme
.BoldFont, Text, StringAlignment.Center, Size.Empty);
1719
this.textSize.Width -= e.
DesignerTheme
.ImageSize.Width + e.AmbientTheme.Margin.Width;
1736
size.Width = 2 * e.AmbientTheme.Margin.Width + ((Image != null) ? (e.
DesignerTheme
.ImageSize.Width + e.AmbientTheme.Margin.Width) : 0) + this.textSize.Width;
1737
size.Height = e.AmbientTheme.Margin.Height + Math.Max(e.
DesignerTheme
.ImageSize.Height, this.textSize.Height) + e.AmbientTheme.Margin.Height;
AuthoringOM\Design\ActivityPreviewDesigner.cs (1)
642
ActivityPreviewDesignerTheme previewDesignerTheme = e.
DesignerTheme
as ActivityPreviewDesignerTheme;
AuthoringOM\Design\CompositeActivityDesigner.cs (1)
1290
this.actualTextSize = ActivityDesignerPaint.MeasureString(e.Graphics, e.
DesignerTheme
.BoldFont, Text, StringAlignment.Center, Size.Empty);
AuthoringOM\Design\ParallelActivityDesigner.cs (2)
217
CompositeDesignerTheme compositeDesignerTheme = e.
DesignerTheme
as CompositeDesignerTheme;
242
CompositeDesignerTheme compositeDesignerTheme = e.
DesignerTheme
as CompositeDesignerTheme;
AuthoringOM\Design\SequentialActivityDesigner.cs (2)
440
CompositeDesignerTheme compositeDesignerTheme = e.
DesignerTheme
as CompositeDesignerTheme;
473
CompositeDesignerTheme compositeDesignerTheme = e.
DesignerTheme
as CompositeDesignerTheme;
AuthoringOM\Design\SequentialWorkflowHeaderFooter.cs (4)
193
if (!String.IsNullOrEmpty(Text) && e.
DesignerTheme
!= null && e.
DesignerTheme
.Font != null)
195
using (Font font = new Font(e.
DesignerTheme
.Font.FontFamily, e.
DesignerTheme
.Font.SizeInPoints + 1.0f, FontStyle.Bold))