16 writes to Height
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ToolStripItemDesigner.cs (1)
1236ToolStripItem.Height = _editorNode.EditorToolStrip.Height;
System.Windows.Forms.Tests (10)
System\Windows\Forms\ToolStripItemTests.cs (10)
3468item.Height = value; 3473item.Height = value; 3495item.Height = value; 3502item.Height = value; 3538item.Height = value; 3548item.Height = value; 3590item.Height = value; 3597item.Height = value; 3643item.Height = value; 3653item.Height = value;
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
1029Height = 35,
TestPassApp (3)
PrintingControls.cs (1)
68item.Height = item.Height < 24 ? 24 : item.Height;
RemainingControls.cs (2)
19item.Height = item.Height < 24 ? 24 : item.Height; 29item.Height = item.Height < 24 ? 24 : item.Height;
WinFormsControlsTest (1)
DragDrop.cs (1)
450Height = 35,
70 references to Height
System.Windows.Forms (16)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
2140selectedItem.Bounds.Y + selectedItem.Height / 2);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (2)
314offset.Y = Height - 1; 318offset.Y = Height - 1;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (3)
96rect.Y += UpScrollButton.Height + UpScrollButton.Margin.Vertical; 97rect.Height -= UpScrollButton.Height + UpScrollButton.Margin.Vertical + DownScrollButton.Height + DownScrollButton.Margin.Vertical;
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (2)
100e.Graphics.DrawRectangle(SystemPens.ButtonHighlight, new Rectangle(0, 0, e.Item.Width - 1, e.Item.Height - 1)); 181e.Graphics.DrawRectangle(SystemPens.ButtonHighlight, 0, 0, e.Item.Width - 1, e.Item.Height - 1);
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (5)
168overflowArrowRect = new Rectangle(0, item.Height - _overflowArrowOffsetY, _overflowArrowWidth, _overflowArrowHeight); 172overflowArrowRect = new Rectangle(item.Width - _overflowButtonWidth, item.Height - _overflowArrowOffsetY, _overflowArrowWidth, _overflowArrowHeight); 322ControlPaint.DrawBorder3D(e.Graphics, new Rectangle(0, 0, item.Width, item.Height), item.BorderStyle, (Border3DSide)item.BorderSides); 1048(e.Item.Height - e.ImageRectangle.Height) / 2 - 1, 1050: new Rectangle(e.ImageRectangle.Left - 2, 1, e.ImageRectangle.Width + 4, e.Item.Height - 2);
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (2)
301Rectangle dropDownButtonBounds = new(Point.Empty, new Size(Math.Min(Width, DropDownButtonWidth), Height)); 305int splitButtonButtonHeight = Math.Max(0, Height);
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (1)
499ControlPaint.DrawBorder3D(e.Graphics, new Rectangle(0, 0, item.Width - 1, item.Height - 1), item.BorderStyle, (Border3DSide)item.BorderSides);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ToolStripItemDesigner.cs (1)
1254boundsInAdornerWindow.Y += (ToolStripItem.Height - _editorNode.EditorToolStrip.Height) / 2;
System.Windows.Forms.Tests (47)
System\Windows\Forms\ToolStripButtonTests.cs (6)
60Assert.Equal(23, item.Height); 141Assert.Equal(23, item.Height); 228Assert.Equal(23, item.Height); 318Assert.Equal(23, item.Height); 406Assert.Equal(23, item.Height); 504Assert.Equal(23, item.Height);
System\Windows\Forms\ToolStripControlHostTests.cs (1)
89Assert.Equal(c.Height, item.Height);
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
60Assert.Equal(23, item.Height); 149Assert.Equal(23, item.Height); 248Assert.Equal(23, item.Height); 356Assert.Equal(23, item.Height);
System\Windows\Forms\ToolStripItemTests.cs (23)
59Assert.Equal(23, item.Height); 144Assert.Equal(23, item.Height); 239Assert.Equal(23, item.Height); 3469Assert.Equal(value, item.Height); 3474Assert.Equal(value, item.Height); 3496Assert.Equal(value, item.Height); 3503Assert.Equal(value, item.Height); 3539Assert.Equal(value, item.Height); 3549Assert.Equal(value, item.Height); 3591Assert.Equal(value, item.Height); 3598Assert.Equal(value, item.Height); 3644Assert.Equal(value, item.Height); 3654Assert.Equal(value, item.Height); 14564Assert.Equal(bounds.Height, item.Height); 14572Assert.Equal(bounds.Height, item.Height); 14602Assert.Equal(bounds.Height, item.Height); 14612Assert.Equal(bounds.Height, item.Height); 14656Assert.Equal(bounds.Height, item.Height); 14669Assert.Equal(bounds.Height, item.Height); 14730Assert.Equal(bounds.Height, item.Height); 14740Assert.Equal(bounds.Height, item.Height); 14791Assert.Equal(bounds.Height, item.Height); 14804Assert.Equal(bounds.Height, item.Height);
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
60Assert.Equal(19, item.Height);
System\Windows\Forms\ToolStripSeparatorTests.cs (11)
57Assert.Equal(6, item.Height); 1384Assert.Equal(bounds.Height, item.Height); 1392Assert.Equal(bounds.Height, item.Height); 1422Assert.Equal(bounds.Height, item.Height); 1432Assert.Equal(bounds.Height, item.Height); 1484Assert.Equal(bounds.Height, item.Height); 1494Assert.Equal(bounds.Height, item.Height); 1552Assert.Equal(bounds.Height, item.Height); 1562Assert.Equal(bounds.Height, item.Height); 1606Assert.Equal(bounds.Height, item.Height); 1616Assert.Equal(bounds.Height, item.Height);
System\Windows\Forms\ToolStripTextBoxTests.cs (1)
792position.Y.Should().BeLessOrEqualTo(_toolStripTextBox.Height);
TestPassApp (6)
PrintingControls.cs (2)
68item.Height = item.Height < 24 ? 24 : item.Height;
RemainingControls.cs (4)
19item.Height = item.Height < 24 ? 24 : item.Height; 29item.Height = item.Height < 24 ? 24 : item.Height;