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