17 references to FromLTRB
System.Windows.Forms (17)
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (9)
3046
Rectangle.
FromLTRB
(bounds.Left, bounds.Top, bounds.Right, protectedBounds.Top),
3047
Rectangle.
FromLTRB
(bounds.Left, protectedBounds.Bottom, bounds.Right, bounds.Bottom),
3048
Rectangle.
FromLTRB
(bounds.Left, protectedBounds.Top, protectedBounds.Left, protectedBounds.Bottom),
3049
Rectangle.
FromLTRB
(protectedBounds.Right, protectedBounds.Top, bounds.Right, protectedBounds.Bottom)
3079
AddPaintBand(Rectangle.
FromLTRB
(band.Left, band.Top, band.Right, intersection.Top));
3080
AddPaintBand(Rectangle.
FromLTRB
(band.Left, intersection.Bottom, band.Right, band.Bottom));
3081
AddPaintBand(Rectangle.
FromLTRB
(band.Left, intersection.Top, intersection.Left, intersection.Bottom));
3082
AddPaintBand(Rectangle.
FromLTRB
(intersection.Right, intersection.Top, band.Right, intersection.Bottom));
3124
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);
System\Windows\Forms\Rendering\CheckBox\AnimatedToggleSwitchRenderer.cs (2)
205
return Rectangle.
FromLTRB
(contentBounds.Left, contentBounds.Top, right, contentBounds.Bottom);
212
return Rectangle.
FromLTRB
(left, contentBounds.Top, contentBounds.Right, contentBounds.Bottom);