Base:
property
DisplayRectangle
System.Windows.Forms.ScrollableControl.DisplayRectangle
Implemented interface member:
property
DisplayRectangle
System.Windows.Forms.Layout.IArrangedElement.DisplayRectangle
1 override of DisplayRectangle
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (1)
89public override Rectangle DisplayRectangle
26 references to DisplayRectangle
System.Windows.Forms (13)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (3)
381Rectangle displayRect = DisplayRectangle; 503TableLayoutSettings.RowStyles[0].Height = Math.Max(0, DisplayRectangle.Height); 551TableLayoutSettings.ColumnStyles[0].Width = Math.Max(0, DisplayRectangle.Width);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (6)
1296return DisplayRectangle.Size; 1363_toolStripOverflowButton.Size = _toolStripOverflowButton.GetPreferredSize(DisplayRectangle.Size - Padding.Size); 3259_toolStripOverflowButton!.Size = _toolStripOverflowButton.GetPreferredSize(DisplayRectangle.Size - Padding.Size); 3452Rectangle viewableArea = DisplayRectangle; 4170Rectangle displayRect = DisplayRectangle; 4253_ = DisplayRectangle;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (1)
93Rectangle rect = base.DisplayRectangle;
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (1)
1340Rectangle displayRect = toolStrip.DisplayRectangle;
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackDragDropHandler.cs (1)
161Rectangle insertionRect = _owner.DisplayRectangle;
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackLayout.cs (1)
188_displayRectangle = ToolStrip.DisplayRectangle;
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (3)
897_centerTextBox.Size = _miniToolStrip.DisplayRectangle.Size - _centerTextBox.Margin.Size; 1384_centerLabel.Size = _miniToolStrip.DisplayRectangle.Size - _centerLabel.Margin.Size; 1404_addItemButton.Size = _miniToolStrip.DisplayRectangle.Size - _addItemButton.Margin.Size;
System.Windows.Forms.Tests (10)
System\Windows\Forms\MenuStripTests.cs (1)
66Assert.Equal(new Rectangle(6, 2, 194, 20), control.DisplayRectangle);
System\Windows\Forms\StatusStripTests.cs (1)
66Assert.Equal(new Rectangle(1, 0, 185, 22), control.DisplayRectangle);
System\Windows\Forms\ToolStripDropDownTests.cs (3)
70Assert.Equal(new Rectangle(1, 2, 98, 21), control.DisplayRectangle); 1967Assert.Equal(new Rectangle(1, 2, 98, 21), control.DisplayRectangle); 1989Assert.Equal(new Rectangle(1, 2, 98, 21), control.DisplayRectangle);
System\Windows\Forms\ToolStripTests.cs (5)
73Assert.Equal(new Rectangle(9, 0, 90, 25), control.DisplayRectangle); 78Assert.Equal(new Rectangle(7, 0, 92, 25), control.DisplayRectangle); 227Assert.Equal(new Rectangle(9, 0, 90, 25), control.DisplayRectangle); 232Assert.Equal(new Rectangle(7, 0, 92, 25), control.DisplayRectangle); 2312Assert.Equal(expected, control.DisplayRectangle);