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