1 write to lfWeight
System.Windows.Forms (1)
System\Windows\Forms\Rendering\FontCache.Data.cs (1)
94lfWeight = (int)((font.Style & FontStyle.Bold) == FontStyle.Bold ? FW.BOLD : FW.NORMAL),
6 references to lfWeight
System.Windows.Forms (5)
System\Windows\Forms\ActiveX\AxHost.cs (1)
3612sWeight = (short)logfont.lfWeight,
System\Windows\Forms\ActiveX\Control.ActiveXFontMarshaler.cs (1)
42sWeight = (short)logFont.lfWeight,
System\Windows\Forms\ComponentModel\COM2Interop\COM2FontConverter.cs (3)
127if (target->Weight != (short)logfont.lfWeight) 129target->Weight = (short)logfont.lfWeight; 133bool isBold = logfont.lfWeight >= (int)FW.BOLD;
System.Windows.Forms.Primitives (1)
System\Windows\Forms\Automation\UiaTextRange.cs (1)
892private static int GetFontWeight(LOGFONTW logfont) => logfont.lfWeight;