2 writes to ItemHeight
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (1)
441
_newItemTypes.
ItemHeight
= Math.Max(s_iconHeight, Font.Height);
System.Windows.Forms.Tests (1)
System\Windows\Forms\ComboBoxTests.cs (1)
2633
ItemHeight
= itemHeight
15 references to ItemHeight
System.Windows.Forms (9)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (9)
831
dyEdit =
ItemHeight
;
1959
return
ItemHeight
;
1971
return
ItemHeight
;
3359
height =
ItemHeight
* count + 2;
3389
PInvokeCore.SendMessage(this, PInvoke.CB_SETITEMHEIGHT, (WPARAM)(-1), (LPARAM)
ItemHeight
);
3390
PInvokeCore.SendMessage(this, PInvoke.CB_SETITEMHEIGHT, 0,
ItemHeight
);
3394
PInvokeCore.SendMessage(this, PInvoke.CB_SETITEMHEIGHT, (WPARAM)(-1), (LPARAM)
ItemHeight
);
3610
MeasureItemEventArgs mie = new(graphics, itemID,
ItemHeight
);
3617
mis->itemHeight = (uint)
ItemHeight
;
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (2)
543
int itemWidth = _newItemTypes.
ItemHeight
;
551
itemWidth = (int)Math.Max(itemWidth, _newItemTypes.
ItemHeight
+ 1
System.Windows.Forms.Tests (4)
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxItemAccessibleObjectTests.cs (1)
322
int visibleItemsCount = (int)Math.Ceiling((double)dropDownRect.Height / comboBox.
ItemHeight
);
System\Windows\Forms\ComboBoxTests.cs (3)
92
Assert.Equal(Control.DefaultFont.Height + 2, control.
ItemHeight
);
314
int initialItemHeight = control.
ItemHeight
;
319
control.
ItemHeight
.Should().NotBe(initialItemHeight);