Base:
property
Font
System.Windows.Forms.Control.Font
2 writes to Font
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
480Font = DefaultFont;
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
55Font = ActionPanel.Font
26 references to Font
PresentationUI (10)
MS\Internal\Documents\SignatureSummaryDialog.cs (10)
551_listBoxSummary.Font, 561_listBoxSummary.Font, 565_listBoxSummary.Font, 569_listBoxSummary.Font, 576_listBoxSummary.Font, 729_listBoxSummary.Font, 736_listBoxSummary.Font, 743_listBoxSummary.Font, 752_listBoxSummary.Font, 768_listBoxSummary.Font,
System.Windows.Forms (7)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (4)
151return Font.Height + _listItemBordersHeight; 478if (Font.Height < 0) 588Font font = Font; 640float tabDistance = 3.6f * Font.Height; // about 7 characters
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (3)
1305Size textSize = LayoutUtils.OldGetLargestStringSizeInCollection(Font, strings); 2280width = (int)(Math.Ceiling(graphics.MeasureString(GetItemText(item), Font).Width)); 2360Font,
System.Windows.Forms.Design (9)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (3)
226SizeF sizeW = g.MeasureString(c.ToString(CultureInfo.CurrentCulture), _listBox.Font); 234SizeF size = g.MeasureString(GetDisplayText(item), _listBox.Font); 578SizeF sizeW = g.MeasureString(maxC.ToString(CultureInfo.CurrentCulture), _listBox.Font);
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
82using ObjectScope hFont = new(listBox.Font.ToHFONT());
System\Drawing\Design\ColorEditor.ColorUI.cs (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)
1157int itemWidth = TextRenderer.MeasureText(_selectedColumns.Items[i].ToString(), _selectedColumns.Font).Width;
System\Windows\Forms\Design\DataGridViewColumnTypeEditor.Picker.cs (1)
50width = Math.Max(width, Size.Ceiling(g.MeasureString(item.ToString(), _typesListBox.Font)).Width);