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