Base:
property
DisplayRectangle
System.Windows.Forms.Control.DisplayRectangle
18 references to DisplayRectangle
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\GroupBoxDesigner.cs (2)
27return new Point(gb.DisplayRectangle.X, gb.DisplayRectangle.Y);
System.Windows.Forms.Tests (16)
System\Windows\Forms\GroupBoxTests.cs (16)
58Assert.Equal(new Rectangle(3, Control.DefaultFont.Height + 3, 194, 94 - Control.DefaultFont.Height), control.DisplayRectangle); 570Rectangle result = control.DisplayRectangle; 571Assert.Equal(new Rectangle(3, Control.DefaultFont.Height + 3, 194, 94 - Control.DefaultFont.Height), control.DisplayRectangle); 572Assert.Equal(result, control.DisplayRectangle); 580Assert.Equal(new Rectangle(3, Control.DefaultFont.Height + 3, 194, 94 - Control.DefaultFont.Height), control.DisplayRectangle); 583Rectangle result = control.DisplayRectangle; 584Assert.Equal(new Rectangle(3, font.Height + 3, 194, 94 - font.Height), control.DisplayRectangle); 585Assert.Equal(result, control.DisplayRectangle); 596Rectangle result = control.DisplayRectangle; 597Assert.Equal(new Rectangle(3, font.Height + 3, 194, 94 - font.Height), control.DisplayRectangle); 598Assert.Equal(result, control.DisplayRectangle); 609Rectangle result = groupBox.DisplayRectangle; 1517Assert.Equal(new Rectangle(3, Control.DefaultFont.Height + 3, 194, 94 - Control.DefaultFont.Height), control.DisplayRectangle); 1525Assert.Equal(new Rectangle(3, Control.DefaultFont.Height + 3, 194, 94 - Control.DefaultFont.Height), control.DisplayRectangle); 1565Assert.Equal(new Rectangle(3, Control.DefaultFont.Height + 3, 194, 94 - Control.DefaultFont.Height), control.DisplayRectangle); 1576Assert.Equal(new Rectangle(3, Control.DefaultFont.Height + 3, 194, 94 - Control.DefaultFont.Height), control.DisplayRectangle);