28 references to canvasBounds
System.Workflow.ComponentModel (28)
AuthoringOM\Design\DesignerWidgets.cs (28)
3254this.canvasBounds.Location = new Point(value.X + this.bounds.Width / 2 - this.canvasBounds.Width / 2, this.previewModeDescRectangle.Bottom + margin.Height); 3260location.X = this.canvasBounds.Left + this.canvasBounds.Width / 2 - PreviewDesigner.Size.Width / 2; 3261location.Y = this.canvasBounds.Top + this.canvasBounds.Height / 2 - PreviewDesigner.Size.Height / 2; 3374this.canvasBounds.Size = PreviewDesigner.Bounds.Size; 3375this.canvasBounds.Inflate(margin.Width * 2, margin.Height * 2); 3376this.canvasBounds.Size = new Size(Math.Max(this.canvasBounds.Width, designerTheme.PreviewWindowSize.Width), Math.Max(this.canvasBounds.Height, designerTheme.PreviewWindowSize.Height)); 3380this.canvasBounds.Size = designerTheme.PreviewWindowSize; 3383this.canvasBounds.Width = Math.Max(this.canvasBounds.Width, minWidth); 3387this.previewDescTextSize.Width = Math.Min(this.canvasBounds.Size.Width - margin.Width - this.previewModeButtonRectangle.Size.Width, this.previewDescTextSize.Width); 3394totalSize.Width = this.canvasBounds.Width + 2 * margin.Width; 3397totalSize.Height += this.canvasBounds.Height; 3419graphics.FillRectangle(designerTheme.PreviewBackgroundBrush, this.canvasBounds); 3422graphics.DrawRectangle(designerTheme.PreviewBorderPen, this.canvasBounds); 3426Rectangle canvasRect = this.canvasBounds; 3443Rectangle descriptionRectangle = this.canvasBounds; 3459Size maxBitmapSize = new Size(this.canvasBounds.Width - 2 * margin.Width, this.canvasBounds.Height - 2 * margin.Height); 3466destnRectangle.X = this.canvasBounds.Left + this.canvasBounds.Width / 2 - destnRectangle.Width / 2; 3467destnRectangle.Y = this.canvasBounds.Top + this.canvasBounds.Height / 2 - destnRectangle.Height / 2; 3473Rectangle indicatorBounds = this.canvasBounds;