1 override of ItemHeight
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
146
public override int
ItemHeight
9 writes to ItemHeight
System.Windows.Forms (2)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
348
_listBox.
ItemHeight
= RowHeight;
5162
DropDownListBox.
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;
263
lb.
ItemHeight
= lb.Font.Height;
268
lb.
ItemHeight
= lb.Font.Height;
System\Drawing\Design\CursorEditor.CursorUI.cs (1)
25
ItemHeight
= 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)
1754
PInvokeCore.SendMessage(this, PInvoke.LB_SETITEMHEIGHT, (WPARAM)0, (LPARAM)
ItemHeight
);
1955
MeasureItemEventArgs mie = new(graphics, i,
ItemHeight
);
2165
return
ItemHeight
!= DefaultListBoxItemHeight && _drawMode != DrawMode.Normal;
2380
MeasureItemEventArgs mie = new(graphics, (int)mis->itemID,
ItemHeight
);
2386
mis->itemHeight = (uint)
ItemHeight
;
2480
Height = Math.Max(Height,
ItemHeight
);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
3766
bool resizable = DropDownListBox.Items.Count > (DropDownListBox.Height / DropDownListBox.
ItemHeight
);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
591
listBox.Height = Math.Max(listBox.Height, listBox.
ItemHeight
);
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (2)
902
Rectangle bounds = new(0, selectedIndex * _selectedColumns.
ItemHeight
, _selectedColumns.Width, _selectedColumns.
ItemHeight
);