1 write to textSize
System.Workflow.ComponentModel (1)
AuthoringOM\Design\ActivityDesigner.cs (1)
1732
this.
textSize
= Size.Empty;
14 references to textSize
System.Workflow.ComponentModel (14)
AuthoringOM\Design\ActivityDesigner.cs (14)
542
textRectangle.Y = bounds.Top + (bounds.Height - this.
textSize
.Height) / 2;
543
textRectangle.Size = this.
textSize
;
1717
this.
textSize
.Width = MinimumSize.Width - 2 * e.AmbientTheme.Margin.Width;
1719
this.
textSize
.Width -= e.DesignerTheme.ImageSize.Width + e.AmbientTheme.Margin.Width;
1720
this.
textSize
.Width = Math.Min(this.
textSize
.Width, actualTextSize.Width);
1721
this.
textSize
.Width = Math.Max(this.
textSize
.Width, requestedLineSize.Width);
1724
this.
textSize
.Height = requestedLineSize.Height;
1725
int textLines = actualTextSize.Width / this.
textSize
.Width;
1726
textLines += ((actualTextSize.Width % this.
textSize
.Width) > 0) ? 1 : 0;
1728
this.
textSize
.Height *= textLines;
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;