Base:
property
DisplayRectangle
System.Windows.Forms.Control.DisplayRectangle
54 references to DisplayRectangle
System.Windows.Forms (3)
System\Windows\Forms\Controls\TabControl\TabControl.ControlCollection.cs (1)
48tabPage.Bounds = _owner.DisplayRectangle;
System\Windows\Forms\Controls\TabControl\TabControl.cs (2)
1613Rectangle rect = DisplayRectangle; 1822tabPages[index].Bounds = DisplayRectangle;
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\TabControlDesigner.cs (2)
181return !tc.DisplayRectangle.Contains(hitTest); 573if (!tc.DisplayRectangle.Contains(dropPoint))
System.Windows.Forms.Tests (49)
System\Windows\Forms\TabControl.ControlCollectionTests.cs (14)
202Assert.Equal(owner.DisplayRectangle, value1.Bounds); 229Assert.Equal(owner.DisplayRectangle, value1.Bounds); 233Assert.Equal(owner.DisplayRectangle, value2.Bounds); 270Assert.Equal(owner.DisplayRectangle, value1.Bounds); 274Assert.Equal(owner.DisplayRectangle, value2.Bounds); 517Assert.Equal(owner.DisplayRectangle, value1.Bounds); 547Assert.Equal(owner.DisplayRectangle, value1.Bounds); 551Assert.Equal(owner.DisplayRectangle, value2.Bounds); 594Assert.Equal(owner.DisplayRectangle, value1.Bounds); 598Assert.Equal(owner.DisplayRectangle, value2.Bounds); 1155Assert.Equal(owner.DisplayRectangle, value1.Bounds); 1159Assert.Equal(owner.DisplayRectangle, value2.Bounds); 1178Assert.Equal(owner.DisplayRectangle, value1.Bounds); 1182Assert.Equal(owner.DisplayRectangle, value2.Bounds);
System\Windows\Forms\TabControl.TabPageCollectionTests.cs (20)
191Assert.Equal(owner.DisplayRectangle, value1.Bounds); 219Assert.Equal(owner.DisplayRectangle, value1.Bounds); 223Assert.Equal(owner.DisplayRectangle, value2.Bounds); 261Assert.Equal(owner.DisplayRectangle, value1.Bounds); 265Assert.Equal(owner.DisplayRectangle, value2.Bounds); 512Assert.Equal(owner.DisplayRectangle, value1.Bounds); 543Assert.Equal(owner.DisplayRectangle, value1.Bounds); 547Assert.Equal(owner.DisplayRectangle, value2.Bounds); 591Assert.Equal(owner.DisplayRectangle, value1.Bounds); 595Assert.Equal(owner.DisplayRectangle, value2.Bounds); 2128Assert.Equal(owner.DisplayRectangle, value1.Bounds); 2156Assert.Equal(owner.DisplayRectangle, value1.Bounds); 2160Assert.Equal(owner.DisplayRectangle, value2.Bounds); 2200Assert.Equal(owner.DisplayRectangle, value1.Bounds); 2204Assert.Equal(owner.DisplayRectangle, value2.Bounds); 2461Assert.Equal(owner.DisplayRectangle, value1.Bounds); 2492Assert.Equal(owner.DisplayRectangle, value1.Bounds); 2496Assert.Equal(owner.DisplayRectangle, value2.Bounds); 2542Assert.Equal(owner.DisplayRectangle, value1.Bounds); 2546Assert.Equal(owner.DisplayRectangle, value2.Bounds);
System\Windows\Forms\TabControlTests.cs (12)
742Rectangle displayRectangle = control.DisplayRectangle; 745Assert.Equal(200 - displayRectangle.X * 2, control.DisplayRectangle.Width); 746Assert.Equal(100 - displayRectangle.Y * 2, control.DisplayRectangle.Height); 748Assert.Equal(displayRectangle, control.DisplayRectangle); 763Rectangle displayRectangle = control.DisplayRectangle; 766Assert.Equal(200 - displayRectangle.X * 2, control.DisplayRectangle.Width); 767Assert.Equal(100 - displayRectangle.Y * 2, control.DisplayRectangle.Height); 768Assert.Equal(displayRectangle, control.DisplayRectangle); 782Rectangle displayRectangle = control.DisplayRectangle; 785Assert.Equal(200 - displayRectangle.X * 2, control.DisplayRectangle.Width); 786Assert.Equal(100 - displayRectangle.Y * 2, control.DisplayRectangle.Height); 788Assert.Equal(displayRectangle, control.DisplayRectangle);
System\Windows\Forms\TabPageTests.cs (3)
2173Rectangle expected = parent.DisplayRectangle; 4216Assert.Equal(parent.DisplayRectangle, e.ClipRectangle); 4726Rectangle expected = parent.DisplayRectangle;