9 instantiations of FontHandleWrapper
System.Windows.Forms (9)
System\Windows\Forms\Control.cs (4)
1915
_scaledFontWrapper ??= new
FontHandleWrapper
(ScaledControlFont);
1923
fontHandle = Properties.AddValue(s_fontHandleWrapperProperty, new
FontHandleWrapper
(font));
1947
fontHandle ??= Properties.AddValue(s_fontHandleWrapperProperty, new
FontHandleWrapper
(ambientFont));
1952
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)
2604
_odCacheFontHandleWrapper = new
FontHandleWrapper
(_odCacheFont);
2898
_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)
160
private static
FontHandleWrapper
? s_defaultFontHandleWrapper;
281
private
FontHandleWrapper
? _scaledFontWrapper;
1666
if (Properties.TryGetValue(s_fontHandleWrapperProperty, out
FontHandleWrapper
? fontHandle))
1921
if (!Properties.TryGetValue(s_fontHandleWrapperProperty, out
FontHandleWrapper
? fontHandle))
1936
FontHandleWrapper
? fontHandle = null;
1940
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;