9 writes to ItemHeight
PresentationUI (1)
MS\Internal\Documents\SignatureSummaryDialog.cs (1)
532e.ItemHeight = CalculateItemHeight(e.Graphics,
System.Windows.Forms (2)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
813e.ItemHeight = _idealCheckSize + 2;
System\Windows\Forms\Layout\MeasureItemEventArgs.cs (1)
23ItemHeight = itemHeight;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (1)
641e.ItemHeight = Math.Max(s_iconHeight + separator, measureFont.Height + separator) + 2 * s_imagePaddingY;
System.Windows.Forms.Tests (2)
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxItemAccessibleObjectTests.cs (1)
486e.ItemHeight = GetCustomItemHeight(e.Index);
System\Windows\Forms\MeasureItemEventArgsTests.cs (1)
65ItemHeight = value
WinFormsControlsTest (3)
ComboBoxesWithScrollBars.cs (1)
125private void comboBox_MeasureItem(object sender, MeasureItemEventArgs e) => e.ItemHeight = 15 + (e.Index % 5) * 5;
ListBoxes.cs (2)
60e.ItemHeight += 10; 64e.ItemHeight += 5;
9 references to ItemHeight
System.Windows.Forms (5)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (3)
3401if (mievent.ItemHeight != original) 3403PInvokeCore.SendMessage(this, PInvoke.CB_SETITEMHEIGHT, (WPARAM)i, (LPARAM)mievent.ItemHeight); 3612mis->itemHeight = unchecked((uint)mie.ItemHeight);
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
811if (e.ItemHeight < _idealCheckSize + 2)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
2384mis->itemHeight = (uint)mie.ItemHeight;
System.Windows.Forms.Tests (4)
System\Windows\Forms\ComboBoxTests.cs (1)
2592Assert.Equal(18, e.ItemHeight);
System\Windows\Forms\MeasureItemEventArgsTests.cs (3)
30Assert.Equal(itemHeight, e.ItemHeight); 51Assert.Equal(0, e.ItemHeight); 67Assert.Equal(value, e.ItemHeight);