5 references to Contains
System.Windows.Forms (3)
winforms\Managed\System\WinForms\ControlPaint.cs (1)
493
if (!clipRect.
Contains
(imageRectangle)) {
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (1)
93
Debug.Assert((CommonProperties.GetAutoSizeMode(element) == AutoSizeMode.GrowAndShrink || newBounds.
Contains
(oldBounds)), "How did we resize in such a way we no longer contain our old bounds?");
winforms\Managed\System\WinForms\WinFormsUtils.cs (1)
102
if (!constrainingBounds.
Contains
(bounds)) {
System.Workflow.ComponentModel (2)
AuthoringOM\Design\CompositeActivityDesigner.cs (2)
686
if (!topLevelDesigner.Bounds.
Contains
(rectangle))
706
if (!activityDesigner.Bounds.
Contains
(rectangle))