23 references to Font
System.Workflow.Activities (10)
Designers\SetStateDesigner.cs (2)
154
Font font = e.DesignerTheme.
Font
;
173
e.DesignerTheme.
Font
,
Designers\StateDesigner.Layouts.cs (8)
447
Font font = designerTheme.
Font
;
473
Font font = designerTheme.
Font
;
609
using (Font font = new Font(designerTheme.
Font
, FontStyle.Underline | designerTheme.
Font
.Style))
852
size = StateMachineDesignerPaint.MeasureString(graphics, compositeDesignerTheme.
Font
, text, StringAlignment.Center, Size.Empty);
864
Font font = designerTheme.
Font
;
1220
designerTheme.
Font
,
1232
designerTheme.
Font
,
System.Workflow.ComponentModel (13)
AuthoringOM\Design\ActivityDesigner.cs (1)
1676
Font font = (SmartTagVisible) ? e.DesignerTheme.BoldFont : e.DesignerTheme.
Font
;
AuthoringOM\Design\DesignerWidgets.cs (4)
2766
ActivityDesignerPaint.DrawText(graphics, designerTheme.
Font
, this.helpText, stripRectangle, StringAlignment.Center, WorkflowTheme.CurrentTheme.AmbientTheme.TextQuality, textBrush);
3385
SizeF stringSize = graphics.MeasureString(PreviewModeDescription, designerTheme.
Font
);
3410
ActivityDesignerPaint.DrawText(graphics, designerTheme.
Font
, PreviewModeDescription, this.previewModeDescRectangle, StringAlignment.Center, WorkflowTheme.CurrentTheme.AmbientTheme.TextQuality, designerTheme.ForegroundBrush);
3446
ActivityDesignerPaint.DrawText(graphics, designerTheme.
Font
, previewDescription, descriptionRectangle, StringAlignment.Center, WorkflowTheme.CurrentTheme.AmbientTheme.TextQuality, designerTheme.ForegroundBrush);
AuthoringOM\Design\SequentialActivityDesigner.cs (2)
415
ActivityDesignerPaint.DrawText(e.Graphics, compositeDesignerTheme.
Font
, this.HelpText, helpTextRectangle, StringAlignment.Center, e.AmbientTheme.TextQuality, compositeDesignerTheme.ForegroundBrush);
477
this.helpTextSize = ActivityDesignerPaint.MeasureString(e.Graphics, compositeDesignerTheme.
Font
, this.HelpText, StringAlignment.Center, SequentialActivityDesigner.DefaultHelpTextSize);
AuthoringOM\Design\SequentialWorkflowHeaderFooter.cs (6)
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))
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))