8 writes to ItemHeight
PresentationUI (1)
MS\Internal\Documents\SignatureSummaryDialog.cs (1)
520e.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.Tests (2)
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxItemAccessibleObjectTests.cs (1)
484e.ItemHeight = GetCustomItemHeight(e.Index);
System\Windows\Forms\MeasureItemEventArgsTests.cs (1)
63ItemHeight = value
WinFormsControlsTest (3)
ComboBoxesWithScrollBars.cs (1)
125private void comboBox_MeasureItem(object sender, MeasureItemEventArgs e) => e.ItemHeight = 15 + (e.Index % 5) * 5;
ListBoxes.cs (2)
56e.ItemHeight += 10; 60e.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)
2590Assert.Equal(18, e.ItemHeight);
System\Windows\Forms\MeasureItemEventArgsTests.cs (3)
28Assert.Equal(itemHeight, e.ItemHeight); 49Assert.Equal(0, e.ItemHeight); 65Assert.Equal(value, e.ItemHeight);