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