16 writes to Height
Accessibility_Core_App (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;
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)
3467item.Height = value; 3472item.Height = value; 3494item.Height = value; 3501item.Height = value; 3537item.Height = value; 3547item.Height = value; 3589item.Height = value; 3596item.Height = value; 3642item.Height = value; 3652item.Height = value;
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
972Height = 35,
WinFormsControlsTest (1)
DragDrop.cs (1)
450Height = 35,
70 references to Height
Accessibility_Core_App (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;
System.Windows.Forms (16)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
2225selectedItem.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)
58Assert.Equal(23, item.Height); 139Assert.Equal(23, item.Height); 226Assert.Equal(23, item.Height); 316Assert.Equal(23, item.Height); 404Assert.Equal(23, item.Height); 502Assert.Equal(23, item.Height);
System\Windows\Forms\ToolStripControlHostTests.cs (1)
87Assert.Equal(c.Height, item.Height);
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
58Assert.Equal(23, item.Height); 147Assert.Equal(23, item.Height); 246Assert.Equal(23, item.Height); 354Assert.Equal(23, item.Height);
System\Windows\Forms\ToolStripItemTests.cs (23)
57Assert.Equal(23, item.Height); 142Assert.Equal(23, item.Height); 237Assert.Equal(23, item.Height); 3468Assert.Equal(value, item.Height); 3473Assert.Equal(value, item.Height); 3495Assert.Equal(value, item.Height); 3502Assert.Equal(value, item.Height); 3538Assert.Equal(value, item.Height); 3548Assert.Equal(value, item.Height); 3590Assert.Equal(value, item.Height); 3597Assert.Equal(value, item.Height); 3643Assert.Equal(value, item.Height); 3653Assert.Equal(value, item.Height); 14582Assert.Equal(bounds.Height, item.Height); 14590Assert.Equal(bounds.Height, item.Height); 14620Assert.Equal(bounds.Height, item.Height); 14630Assert.Equal(bounds.Height, item.Height); 14674Assert.Equal(bounds.Height, item.Height); 14687Assert.Equal(bounds.Height, item.Height); 14748Assert.Equal(bounds.Height, item.Height); 14758Assert.Equal(bounds.Height, item.Height); 14809Assert.Equal(bounds.Height, item.Height); 14822Assert.Equal(bounds.Height, item.Height);
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
62Assert.Equal(19, item.Height);
System\Windows\Forms\ToolStripSeparatorTests.cs (11)
55Assert.Equal(6, item.Height); 1382Assert.Equal(bounds.Height, item.Height); 1390Assert.Equal(bounds.Height, item.Height); 1420Assert.Equal(bounds.Height, item.Height); 1430Assert.Equal(bounds.Height, item.Height); 1482Assert.Equal(bounds.Height, item.Height); 1492Assert.Equal(bounds.Height, item.Height); 1550Assert.Equal(bounds.Height, item.Height); 1560Assert.Equal(bounds.Height, item.Height); 1604Assert.Equal(bounds.Height, item.Height); 1614Assert.Equal(bounds.Height, item.Height);
System\Windows\Forms\ToolStripTextBoxTests.cs (1)
820position.Y.Should().BeLessOrEqualTo(_toolStripTextBox.Height);