15 references to FromLTRB
System.Windows.Forms (15)
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (9)
2854
Rectangle.
FromLTRB
(bounds.Left, bounds.Top, bounds.Right, protectedBounds.Top),
2855
Rectangle.
FromLTRB
(bounds.Left, protectedBounds.Bottom, bounds.Right, bounds.Bottom),
2856
Rectangle.
FromLTRB
(bounds.Left, protectedBounds.Top, protectedBounds.Left, protectedBounds.Bottom),
2857
Rectangle.
FromLTRB
(protectedBounds.Right, protectedBounds.Top, bounds.Right, protectedBounds.Bottom)
2887
AddPaintBand(Rectangle.
FromLTRB
(band.Left, band.Top, band.Right, intersection.Top));
2888
AddPaintBand(Rectangle.
FromLTRB
(band.Left, intersection.Bottom, band.Right, band.Bottom));
2889
AddPaintBand(Rectangle.
FromLTRB
(band.Left, intersection.Top, intersection.Left, intersection.Bottom));
2890
AddPaintBand(Rectangle.
FromLTRB
(intersection.Right, intersection.Top, band.Right, intersection.Bottom));
2932
Rectangle scrollBarRectangle = Rectangle.
FromLTRB
(
System\Windows\Forms\Layout\LayoutUtils.cs (1)
595
return Rectangle.
FromLTRB
(left, top, right, bottom);
System\Windows\Forms\Rendering\Animation\AnimatedFocusIndicatorRenderer.cs (1)
104
Rectangle focusClip = Rectangle.
FromLTRB
(
System\Windows\Forms\Rendering\Button\PopupButtonKeyCapRenderer.cs (4)
558
? Rectangle.
FromLTRB
(imageSlot.Right + gap, contentBounds.Top, contentBounds.Right, contentBounds.Bottom)
559
: Rectangle.
FromLTRB
(contentBounds.Left, contentBounds.Top, imageSlot.Left - gap, contentBounds.Bottom);
573
? Rectangle.
FromLTRB
(contentBounds.Left, imageSlot.Bottom + gap, contentBounds.Right, contentBounds.Bottom)
574
: Rectangle.
FromLTRB
(contentBounds.Left, contentBounds.Top, contentBounds.Right, imageSlot.Top - gap);