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