6 implementations of DisplayRectangle
System.Windows.Forms (6)
System\Windows\Forms\Control.cs (1)
1649
public virtual Rectangle
DisplayRectangle
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
726
public override Rectangle
DisplayRectangle
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
968
Rectangle IArrangedElement.
DisplayRectangle
=> Bounds;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (1)
644
Rectangle IArrangedElement.
DisplayRectangle
System\Windows\Forms\Layout\ArrangedElement.cs (1)
55
public virtual Rectangle
DisplayRectangle
System\Windows\Forms\Scrolling\ScrollableControl.cs (1)
214
Rectangle IArrangedElement.
DisplayRectangle
27 references to DisplayRectangle
System.Windows.Forms (27)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.HorizontalRowManager.cs (1)
26
Rectangle displayRect = ((IArrangedElement)Row).
DisplayRectangle
;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.VerticalRowManager.cs (1)
27
Rectangle displayRect = ((IArrangedElement)Row).
DisplayRectangle
;
System\Windows\Forms\Layout\DefaultLayout.cs (5)
352
Rectangle displayRectangle = container.
DisplayRectangle
;
380
Rectangle remainingBounds = measureOnly ? Rectangle.Empty : container.
DisplayRectangle
;
748
Rectangle parentDisplayRect = element.Container.
DisplayRectangle
;
988
Rectangle displayRect = element.Container!.
DisplayRectangle
;
1028
Rectangle displayRectangle = container.
DisplayRectangle
;
System\Windows\Forms\Layout\FlowLayout.cs (17)
19
CommonProperties.SetLayoutBounds(container, TryCalculatePreferredSize(container, container.
DisplayRectangle
, measureOnly: false));
322
Debug.Assert(container.Children[0].Bounds.Y == margin.Top + container.
DisplayRectangle
.Y);
323
Debug.Assert(container.Children[0].Bounds.X == margin.Left + container.
DisplayRectangle
.X);
326
Debug.Assert(container.Children[0].Bounds.X == container.
DisplayRectangle
.X + container.
DisplayRectangle
.Width - container.Children[0].Bounds.Width - margin.Right);
327
Debug.Assert(container.Children[0].Bounds.Y == margin.Top + container.
DisplayRectangle
.Y);
330
Debug.Assert(container.Children[0].Bounds.Y == container.
DisplayRectangle
.Y + container.
DisplayRectangle
.Height - container.Children[0].Bounds.Height - margin.Bottom);
331
Debug.Assert(container.Children[0].Bounds.X == margin.Left + container.
DisplayRectangle
.X);
343
Debug.Assert(collection[i].Bounds.Y >= container.
DisplayRectangle
.Y);
344
Debug.Assert(collection[i].Bounds.X >= container.
DisplayRectangle
.X);
347
Debug.Assert(collection[i].Bounds.Y >= container.
DisplayRectangle
.Y);
348
Debug.Assert(collection[i].Bounds.X + collection[i].Bounds.Width <= container.
DisplayRectangle
.X + container.
DisplayRectangle
.Width);
351
Debug.Assert(collection[i].Bounds.Y + collection[i].Bounds.Height <= container.
DisplayRectangle
.Y + container.
DisplayRectangle
.Height);
352
Debug.Assert(collection[i].Bounds.X >= container.
DisplayRectangle
.X);
System\Windows\Forms\Layout\TableLayout.cs (3)
105
Size containerSize = container.
DisplayRectangle
.Size - new Size(cellBorderWidth, cellBorderWidth);
113
RectangleF displayRect = (RectangleF)container.
DisplayRectangle
;
162
Size containerSize = container.
DisplayRectangle
.Size - new Size(cellBorderWidth * 2, cellBorderWidth * 2);