22 references to bounds
System.Workflow.ComponentModel (22)
AuthoringOM\Design\DesignerWidgets.cs (22)
323return this.bounds.Location; 328if (this.bounds.Location != value) 332this.bounds.Location = value; 349return this.bounds.Size; 354if (this.bounds.Size != value) 358this.bounds.Size = value; 366availableSize = this.bounds.Width - (2 * (2 * this.margin.Width + this.buttonSize.Width)); 370this.itemStrip.Size = new Size(Math.Min(availableSize, reqdSize.Width), Math.Min(this.bounds.Height, reqdSize.Height)); 374availableSize = this.bounds.Height - (2 * (2 * this.margin.Height + this.buttonSize.Height)); 378this.itemStrip.Size = new Size(Math.Min(this.bounds.Width, reqdSize.Width), Math.Min(availableSize, reqdSize.Height)); 390return this.bounds; 480buttonRectangle.X = this.bounds.X + this.margin.Width; 481buttonRectangle.Y = this.bounds.Y + this.margin.Height; 487buttonRectangle.X = this.bounds.X + this.margin.Width + buttonRectangle.Size.Width + this.itemStrip.Size.Width; 488if (buttonRectangle.X >= this.bounds.Right) 489buttonRectangle.X = this.bounds.Right - buttonRectangle.Size.Width; 491buttonRectangle.Y = this.bounds.Y + this.margin.Height; 495buttonRectangle.X = this.bounds.X + this.margin.Width; 497buttonRectangle.Y = this.bounds.Y + this.margin.Height + buttonRectangle.Size.Height + this.itemStrip.Size.Height; 498if (buttonRectangle.Y >= this.bounds.Bottom) 499buttonRectangle.Y = this.bounds.Bottom - buttonRectangle.Size.Height; 548workflowView.InvalidateLogicalRectangle(this.bounds);