21 references to FontWeight
PresentationCore (21)
MS\Internal\FontCache\FamilyCollection.cs (1)
410
fontWeight = new
FontWeight
((int)font.Weight);
MS\Internal\FontFace\PhysicalFontFamily.cs (1)
216
_style = new MatchingStyle(new FontStyle((int)face.Style), new
FontWeight
((int)face.Weight), new FontStretch((int)face.Stretch));
MS\Internal\FontFace\TypefaceCollection.cs (1)
156
return new Typeface(_typefaceCollection._fontFamily, new FontStyle((int)face.Style), new
FontWeight
((int)face.Weight), new FontStretch((int)face.Stretch));
System\Windows\FontWeight.cs (1)
42
return new
FontWeight
(weightValue);
System\Windows\FontWeights.cs (16)
21
public static FontWeight Thin { get { return new
FontWeight
(100); } }
26
public static FontWeight ExtraLight { get { return new
FontWeight
(200); } }
31
public static FontWeight UltraLight { get { return new
FontWeight
(200); } }
36
public static FontWeight Light { get { return new
FontWeight
(300); } }
41
public static FontWeight Normal { get { return new
FontWeight
(400); } }
46
public static FontWeight Regular { get { return new
FontWeight
(400); } }
51
public static FontWeight Medium { get { return new
FontWeight
(500); } }
56
public static FontWeight DemiBold { get { return new
FontWeight
(600); } }
61
public static FontWeight SemiBold { get { return new
FontWeight
(600); } }
66
public static FontWeight Bold { get { return new
FontWeight
(700); } }
71
public static FontWeight ExtraBold { get { return new
FontWeight
(800); } }
76
public static FontWeight UltraBold { get { return new
FontWeight
(800); } }
81
public static FontWeight Black { get { return new
FontWeight
(900); } }
86
public static FontWeight Heavy { get { return new
FontWeight
(900); } }
91
public static FontWeight ExtraBlack { get { return new
FontWeight
(950); } }
96
public static FontWeight UltraBlack { get { return new
FontWeight
(950); } }
System\Windows\Media\GlyphTypeface.cs (1)
578
return new
FontWeight
((int)_font.Weight);