Base:
property
Font
System.Windows.Forms.Control.Font
1 write to Font
System.Windows.Forms (1)
winforms\Managed\System\WinForms\CheckedListBox.cs (1)
644
this.
Font
= Control.DefaultFont;
7 references to Font
System.Windows.Forms (7)
winforms\Managed\System\WinForms\CheckedListBox.cs (4)
257
return
Font
.Height + scaledListItemBordersHeight;
642
if (
Font
.Height < 0)
740
Font font =
Font
;
776
float tabDistance = 3.6f *
Font
.Height; // about 7 characters
winforms\Managed\System\WinForms\ListBox.cs (3)
1360
Size textSize = LayoutUtils.OldGetLargestStringSizeInCollection(
Font
, strings);
2240
width = (int)(Math.Ceiling(graphics.MeasureString(GetItemText(item), this.
Font
).Width));
2341
OnDrawItem(new DrawItemEventArgs(g,
Font
, bounds, dis.itemID, (DrawItemState)dis.itemState, ForeColor, BackColor));