11 references to Graphics
System.Workflow.Activities (3)
Designers\SetStateDesigner.cs (1)
156
this.targetStateSize = StateMachineDesignerPaint.MeasureString(e.
Graphics
,
Designers\StateDesigner.cs (2)
1374
Graphics graphics = e.
Graphics
;
1537
Graphics graphics = e.
Graphics
;
System.Workflow.ComponentModel (8)
AuthoringOM\Design\ActivityDesigner.cs (1)
1711
Size actualTextSize = ActivityDesignerPaint.MeasureString(e.
Graphics
, e.DesignerTheme.BoldFont, Text, StringAlignment.Center, Size.Empty);
AuthoringOM\Design\ActivityPreviewDesigner.cs (2)
610
this.previewStrip.OnLayoutSize(e.
Graphics
);
620
this.previewWindow.OnLayoutSize(e.
Graphics
, containerSize.Width);
AuthoringOM\Design\CompositeActivityDesigner.cs (3)
1258
((IWorkflowDesignerMessageSink)activityDesigner).OnLayoutPosition(e.
Graphics
);
1278
((IWorkflowDesignerMessageSink)activityDesigner).OnLayoutSize(e.
Graphics
);
1290
this.actualTextSize = ActivityDesignerPaint.MeasureString(e.
Graphics
, e.DesignerTheme.BoldFont, Text, StringAlignment.Center, Size.Empty);
AuthoringOM\Design\SequentialActivityDesigner.cs (1)
477
this.helpTextSize = ActivityDesignerPaint.MeasureString(e.
Graphics
, compositeDesignerTheme.Font, this.HelpText, StringAlignment.Center, SequentialActivityDesigner.DefaultHelpTextSize);
AuthoringOM\Design\SequentialWorkflowHeaderFooter.cs (1)
196
this.textSize = ActivityDesignerPaint.MeasureString(e.
Graphics
, font, Text, StringAlignment.Center, Size.Empty);