9 instantiations of FontHandleWrapper
System.Windows.Forms (9)
System\Windows\Forms\Control.cs (4)
1916
_scaledFontWrapper ??= new
FontHandleWrapper
(ScaledControlFont);
1924
fontHandle = Properties.AddValue(s_fontHandleWrapperProperty, new
FontHandleWrapper
(font));
1948
fontHandle ??= Properties.AddValue(s_fontHandleWrapperProperty, new
FontHandleWrapper
(ambientFont));
1953
s_defaultFontHandleWrapper ??= new
FontHandleWrapper
(DefaultFont);
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
229
_calendarFontHandleWrapper ??= new
FontHandleWrapper
(CalendarFont);
System\Windows\Forms\Controls\ListView\ListView.cs (2)
2608
_odCacheFontHandleWrapper = new
FontHandleWrapper
(_odCacheFont);
2902
_odCacheFontHandleWrapper = new
FontHandleWrapper
(subItemFont);
System\Windows\Forms\Form.cs (1)
4547
FontHandleWrapper fontwrapper =
new
(fontForDpi);
System\Windows\Forms\OwnerDrawPropertyBag.cs (1)
54
_fontWrapper = new Control.
FontHandleWrapper
(Font);
10 references to FontHandleWrapper
System.Windows.Forms (10)
System\Windows\Forms\Control.cs (6)
161
private static
FontHandleWrapper
? s_defaultFontHandleWrapper;
282
private
FontHandleWrapper
? _scaledFontWrapper;
1667
if (Properties.TryGetValue(s_fontHandleWrapperProperty, out
FontHandleWrapper
? fontHandle))
1922
if (!Properties.TryGetValue(s_fontHandleWrapperProperty, out
FontHandleWrapper
? fontHandle))
1937
FontHandleWrapper
? fontHandle = null;
1941
fontHandle = Properties.GetValueOrDefault<
FontHandleWrapper
?>(s_fontHandleWrapperProperty);
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
96
private
FontHandleWrapper
? _calendarFontHandleWrapper;
System\Windows\Forms\Controls\ListView\ListView.cs (1)
110
private
FontHandleWrapper
? _odCacheFontHandleWrapper;
System\Windows\Forms\Form.cs (1)
4547
FontHandleWrapper
fontwrapper = new(fontForDpi);
System\Windows\Forms\OwnerDrawPropertyBag.cs (1)
15
private Control.
FontHandleWrapper
? _fontWrapper;