1 write to ItemHeight
System.Windows.Forms.Tests (1)
System\Windows\Forms\ComboBoxTests.cs (1)
2631
ItemHeight
= itemHeight
13 references to ItemHeight
System.Windows.Forms (9)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (9)
830
dyEdit =
ItemHeight
;
1958
return
ItemHeight
;
1970
return
ItemHeight
;
3358
height =
ItemHeight
* count + 2;
3388
PInvokeCore.SendMessage(this, PInvoke.CB_SETITEMHEIGHT, (WPARAM)(-1), (LPARAM)
ItemHeight
);
3389
PInvokeCore.SendMessage(this, PInvoke.CB_SETITEMHEIGHT, 0,
ItemHeight
);
3393
PInvokeCore.SendMessage(this, PInvoke.CB_SETITEMHEIGHT, (WPARAM)(-1), (LPARAM)
ItemHeight
);
3609
MeasureItemEventArgs mie = new(graphics, itemID,
ItemHeight
);
3616
mis->itemHeight = (uint)
ItemHeight
;
System.Windows.Forms.Tests (4)
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxItemAccessibleObjectTests.cs (1)
320
int visibleItemsCount = (int)Math.Ceiling((double)dropDownRect.Height / comboBox.
ItemHeight
);
System\Windows\Forms\ComboBoxTests.cs (3)
90
Assert.Equal(Control.DefaultFont.Height + 2, control.
ItemHeight
);
312
int initialItemHeight = control.
ItemHeight
;
317
control.
ItemHeight
.Should().NotBe(initialItemHeight);