6 references to s_fontHandleWrapperProperty
System.Windows.Forms (6)
System\Windows\Forms\Control.cs (6)
1667
if (Properties.TryGetValue(
s_fontHandleWrapperProperty
, out FontHandleWrapper? fontHandle))
1670
Properties.RemoveValue(
s_fontHandleWrapperProperty
);
1922
if (!Properties.TryGetValue(
s_fontHandleWrapperProperty
, out FontHandleWrapper? fontHandle))
1924
fontHandle = Properties.AddValue(
s_fontHandleWrapperProperty
, new FontHandleWrapper(font));
1941
fontHandle = Properties.GetValueOrDefault<FontHandleWrapper?>(
s_fontHandleWrapperProperty
);
1948
fontHandle ??= Properties.AddValue(
s_fontHandleWrapperProperty
, new FontHandleWrapper(ambientFont));