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)
56Assert.Equal(new Rectangle(3, Control.DefaultFont.Height + 3, 194, 94 - Control.DefaultFont.Height), control.DisplayRectangle); 568Rectangle result = control.DisplayRectangle; 569Assert.Equal(new Rectangle(3, Control.DefaultFont.Height + 3, 194, 94 - Control.DefaultFont.Height), control.DisplayRectangle); 570Assert.Equal(result, control.DisplayRectangle); 578Assert.Equal(new Rectangle(3, Control.DefaultFont.Height + 3, 194, 94 - Control.DefaultFont.Height), control.DisplayRectangle); 581Rectangle result = control.DisplayRectangle; 582Assert.Equal(new Rectangle(3, font.Height + 3, 194, 94 - font.Height), control.DisplayRectangle); 583Assert.Equal(result, control.DisplayRectangle); 594Rectangle result = control.DisplayRectangle; 595Assert.Equal(new Rectangle(3, font.Height + 3, 194, 94 - font.Height), control.DisplayRectangle); 596Assert.Equal(result, control.DisplayRectangle); 607Rectangle result = groupBox.DisplayRectangle; 1515Assert.Equal(new Rectangle(3, Control.DefaultFont.Height + 3, 194, 94 - Control.DefaultFont.Height), control.DisplayRectangle); 1523Assert.Equal(new Rectangle(3, Control.DefaultFont.Height + 3, 194, 94 - Control.DefaultFont.Height), control.DisplayRectangle); 1563Assert.Equal(new Rectangle(3, Control.DefaultFont.Height + 3, 194, 94 - Control.DefaultFont.Height), control.DisplayRectangle); 1574Assert.Equal(new Rectangle(3, Control.DefaultFont.Height + 3, 194, 94 - Control.DefaultFont.Height), control.DisplayRectangle);