1 write to textSize
System.Workflow.ComponentModel (1)
AuthoringOM\Design\SequentialWorkflowHeaderFooter.cs (1)
196
this.
textSize
= ActivityDesignerPaint.MeasureString(e.Graphics, font, Text, StringAlignment.Center, Size.Empty);
4 references to textSize
System.Workflow.ComponentModel (4)
AuthoringOM\Design\SequentialWorkflowHeaderFooter.cs (3)
139
bounds.Size = this.
textSize
;
140
bounds.X = designerBounds.Left + designerBounds.Width / 2 - this.
textSize
.Width / 2;
141
bounds.Y = (this.isHeader) ? designerBounds.Top + margin.Height : designerBounds.Bottom - margin.Height - this.
textSize
.Height;
AuthoringOM\Design\SequentialWorkflowRootDesigner.cs (1)
402
headerBarRectangle.Height = Math.Max(2 * WorkflowTheme.CurrentTheme.AmbientTheme.Margin.Height + base.
textSize
.Height, MinHeaderBarHeight);