35 references to Bounds
System.Workflow.Activities (35)
Designers\StateDesigner.CommentLayoutGlyph.cs (1)
41Rectangle bounds = _layout.Bounds;
Designers\StateDesigner.cs (6)
406return _titleBarLayout.ImageLayout.Bounds; 417return _titleBarLayout.TextLayout.Bounds; 708Rectangle bounds = layout.Bounds; 1413int minimumY = _eventHandlersLayout.Bounds.Bottom + DefaultStateDesignerAutoLayoutDistance; 1473int maximumY = _eventHandlersLayout.Bounds.Bottom + DefaultStateDesignerAutoLayoutDistance; 1650int eventHandlersLayoutBottom = this._statesLayout.EventHandlersLayout.Bounds.Bottom;
Designers\StateDesigner.Layouts.cs (27)
343parentView.InvalidateLogicalRectangle(this.Bounds); 349if (this.Bounds.Contains(point)) 363if (layout.Bounds.Contains(x, y)) 369if (this.Bounds.Contains(x, y)) 408return StateMachineDesignerPaint.TrimRectangle(rectangle, Bounds); 417return StateMachineDesignerPaint.TrimRectangle(rectangle, Bounds); 499if (this.Bounds.Contains(point)) 511Rectangle layoutBounds = this.Bounds; 522Rectangle layoutBounds = this.Bounds; 710Rectangle bounds = this.Bounds; 809layout.Bounds.Right, 865ActivityDesignerPaint.DrawText(graphics, font, text, this.Bounds, StringAlignment.Near, ambientTheme.TextQuality, designerTheme.ForegroundBrush); 906ActivityDesignerPaint.DrawImage(graphics, image, this.Bounds, DesignerContentAlignment.Fill); 993Rectangle rectangle = this.Bounds; 995Brush backgroundBrush = designerTheme.GetBackgroundBrush(this.Bounds); 1042int minX = _imageLayout.Bounds.Right + Padding; 1049if ((xPos + maxStringWidth) > (this.Bounds.Right - margin.Width)) 1050maxStringWidth = (this.Bounds.Right - margin.Width) - xPos; 1183int y = _titleBarLayout.Bounds.Bottom + 1; 1191GraphicsPath path = StateMachineDesignerPaint.GetDesignerPath(this.ActivityDesigner, this.Bounds, designerTheme); 1192Brush backgroundBrush = designerTheme.GetBackgroundBrush(this.Bounds); 1203Point location = new Point(this.Location.X, _titleBarLayout.Bounds.Bottom); 1204Size size = new Size(this.Size.Width, this.Size.Height - _titleBarLayout.Bounds.Height); 1362Rectangle bounds = this.Bounds; 1381origin.Y = _designerLayout.Bounds.Bottom + ambientTheme.SelectionSize.Height + ActiveDesignerPadding; 1392GraphicsPath path = StateMachineDesignerPaint.GetDesignerPath(this.ActivityDesigner, this.Bounds, designerTheme); 1393Brush backgroundBrush = designerTheme.GetBackgroundBrush(this.Bounds);
Designers\StateDesigner.LayoutSelectionGlyph.cs (1)
59return _layout.Bounds;