1 write to margin
System.Workflow.ComponentModel (1)
AuthoringOM\Design\DesignerWidgets.cs (1)
273
this.
margin
= margin;
14 references to margin
System.Workflow.ComponentModel (14)
AuthoringOM\Design\DesignerWidgets.cs (14)
366
availableSize = this.bounds.Width - (2 * (2 * this.
margin
.Width + this.buttonSize.Width));
367
availableSize -= this.
margin
.Width;
368
if (this.
margin
.Width + this.itemStrip.ItemSize.Width > 0)
369
availableSize -= (availableSize % (this.
margin
.Width + this.itemStrip.ItemSize.Width));
374
availableSize = this.bounds.Height - (2 * (2 * this.
margin
.Height + this.buttonSize.Height));
375
availableSize -= this.
margin
.Height;
376
if (this.
margin
.Height + this.itemStrip.ItemSize.Height > 0)
377
availableSize -= (availableSize % (this.
margin
.Height + this.itemStrip.ItemSize.Height));
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;
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;