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)
89
public override Rectangle
DisplayRectangle
26 references to DisplayRectangle
System.Windows.Forms (13)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (3)
381
Rectangle displayRect =
DisplayRectangle
;
503
TableLayoutSettings.RowStyles[0].Height = Math.Max(0,
DisplayRectangle
.Height);
551
TableLayoutSettings.ColumnStyles[0].Width = Math.Max(0,
DisplayRectangle
.Width);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (6)
1295
return
DisplayRectangle
.Size;
1362
_toolStripOverflowButton.Size = _toolStripOverflowButton.GetPreferredSize(
DisplayRectangle
.Size - Padding.Size);
3258
_toolStripOverflowButton!.Size = _toolStripOverflowButton.GetPreferredSize(
DisplayRectangle
.Size - Padding.Size);
3452
Rectangle viewableArea =
DisplayRectangle
;
4170
Rectangle displayRect =
DisplayRectangle
;
4253
_ =
DisplayRectangle
;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (1)
93
Rectangle rect = base.
DisplayRectangle
;
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (1)
1340
Rectangle displayRect = toolStrip.
DisplayRectangle
;
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackDragDropHandler.cs (1)
161
Rectangle 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)
68
Assert.Equal(new Rectangle(6, 2, 194, 20), control.
DisplayRectangle
);
System\Windows\Forms\StatusStripTests.cs (1)
68
Assert.Equal(new Rectangle(1, 0, 185, 22), control.
DisplayRectangle
);
System\Windows\Forms\ToolStripDropDownTests.cs (3)
72
Assert.Equal(new Rectangle(1, 2, 98, 21), control.
DisplayRectangle
);
1969
Assert.Equal(new Rectangle(1, 2, 98, 21), control.
DisplayRectangle
);
1991
Assert.Equal(new Rectangle(1, 2, 98, 21), control.
DisplayRectangle
);
System\Windows\Forms\ToolStripTests.cs (5)
75
Assert.Equal(new Rectangle(9, 0, 90, 25), control.
DisplayRectangle
);
80
Assert.Equal(new Rectangle(7, 0, 92, 25), control.
DisplayRectangle
);
229
Assert.Equal(new Rectangle(9, 0, 90, 25), control.
DisplayRectangle
);
234
Assert.Equal(new Rectangle(7, 0, 92, 25), control.
DisplayRectangle
);
2314
Assert.Equal(expected, control.
DisplayRectangle
);