1 override of ItemHeight
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
146public override int ItemHeight
9 writes to ItemHeight
System.Windows.Forms (2)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
348_listBox.ItemHeight = RowHeight; 5162DropDownListBox.ItemHeight = RowHeight + 2;
System.Windows.Forms.Design (7)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
204_listBox.ItemHeight = Font.Height + SystemInformation.BorderSize.Width * 2;
System\Drawing\Design\ColorEditor.ColorUI.cs (4)
95_lbSystem.ItemHeight = Font.Height + 2; 96_lbCommon.ItemHeight = Font.Height + 2; 263lb.ItemHeight = lb.Font.Height; 268lb.ItemHeight = lb.Font.Height;
System\Drawing\Design\CursorEditor.CursorUI.cs (1)
25ItemHeight = Math.Max(4 + Cursors.Default.Size.Height, Font.Height);
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
809_selectedColumns.ItemHeight = Font.Height + OWNERDRAWVERTICALBUFFER;
10 references to ItemHeight
System.Windows.Forms (8)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (6)
1754PInvokeCore.SendMessage(this, PInvoke.LB_SETITEMHEIGHT, (WPARAM)0, (LPARAM)ItemHeight); 1955MeasureItemEventArgs mie = new(graphics, i, ItemHeight); 2165return ItemHeight != DefaultListBoxItemHeight && _drawMode != DrawMode.Normal; 2380MeasureItemEventArgs mie = new(graphics, (int)mis->itemID, ItemHeight); 2386mis->itemHeight = (uint)ItemHeight; 2480Height = Math.Max(Height, ItemHeight);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
3766bool resizable = DropDownListBox.Items.Count > (DropDownListBox.Height / DropDownListBox.ItemHeight);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
591listBox.Height = Math.Max(listBox.Height, listBox.ItemHeight);
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (2)
902Rectangle bounds = new(0, selectedIndex * _selectedColumns.ItemHeight, _selectedColumns.Width, _selectedColumns.ItemHeight);