5 references to Contains
System.Windows.Forms (3)
winforms\Managed\System\WinForms\ControlPaint.cs (1)
493if (!clipRect.Contains(imageRectangle)) {
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (1)
93Debug.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)
102if (!constrainingBounds.Contains(bounds)) {
System.Workflow.ComponentModel (2)
AuthoringOM\Design\CompositeActivityDesigner.cs (2)
686if (!topLevelDesigner.Bounds.Contains(rectangle)) 706if (!activityDesigner.Bounds.Contains(rectangle))