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