9 writes to Size
System.Workflow.Activities (9)
Designers\StateDesigner.Layouts.cs (9)
455this.Size = size; 680this.Size = size; 778this.Size = size; 855this.Size = size; 899this.Size = size; 976this.Size = size; 1053_textLayout.Size = new Size(maxStringWidth, _textLayout.Size.Height); 1174this.Size = size; 1353this.Size = size;
33 references to Size
System.Workflow.Activities (33)
Designers\StateDesigner.cs (1)
1546return this.RootDesignerLayout.Size;
Designers\StateDesigner.Layouts.cs (32)
650Size size = layout.Size; 666minimumSize.Height += layout.Size.Height; 668int layoutWidth = layout.Size.Width + 2 * (selectionSize.Width + ambientTheme.Margin.Width); 695y += layout.Size.Height + selectionSize.Height; 773size.Width += layout.Size.Width + _breadCrumbSeparatorSize.Width; 774size.Height = Math.Max(size.Height, layout.Size.Height); 788location.X += layout.Size.Width + _breadCrumbSeparatorSize.Width; 969minimumSize.Width = designerTheme.BorderWidth * 2 + 10 + _textLayout.Size.Width + _imageLayout.Size.Width; 970minimumSize.Height = Math.Max(_textLayout.Size.Height, _imageLayout.Size.Height); 1044int maxStringWidth = _textLayout.Size.Width; 1045int xPos = (this.Location.X + this.Size.Width / 2 - maxStringWidth / 2); 1053_textLayout.Size = new Size(maxStringWidth, _textLayout.Size.Height); 1142int maximumY = _titleBarLayout.Size.Height + 1143_eventHandlersLayout.Size.Height + 1172_titleBarLayout.ResizeLayout(new Size(size.Width, _titleBarLayout.Size.Height)); 1204Size size = new Size(this.Size.Width, this.Size.Height - _titleBarLayout.Bounds.Height); 1244_eventHandlersLayout.ResizeLayout(new Size(newSize.Width, _eventHandlersLayout.Size.Height)); 1245_titleBarLayout.ResizeLayout(new Size(newSize.Width, _titleBarLayout.Size.Height)); 1332size.Width = Math.Max(size.Width, _titleBarLayout.Size.Width); 1333size.Width = Math.Max(size.Width, _breadCrumbBarLayout.Size.Width); 1337_titleBarLayout.Size.Height + 1338_breadCrumbBarLayout.Size.Height + 1342_titleBarLayout.ResizeLayout(new Size(size.Width, _titleBarLayout.Size.Height)); 1348size.Width = Math.Max(size.Width, _designerLayout.Size.Width); 1349size.Height = Math.Max(size.Height, activeDesigner.Size.Height + ActiveDesignerPadding * 2 + _designerLayout.Size.Height + ambientTheme.SelectionSize.Height * 2); 1369origin.Y += _titleBarLayout.Size.Height + ActiveDesignerPadding; 1372origin.Y += _breadCrumbBarLayout.Size.Height + ActiveDesignerPadding; 1377bounds.Left + (bounds.Width - _designerLayout.Size.Width) / 2, 1406_titleBarLayout.ResizeLayout(new Size(newSize.Width, _titleBarLayout.Size.Height));