21 references to FontWeight
PresentationCore (21)
MS\Internal\FontCache\FamilyCollection.cs (1)
420
fontWeight = new
FontWeight
((int)font.Weight);
MS\Internal\FontFace\PhysicalFontFamily.cs (1)
225
_style = new MatchingStyle(new FontStyle((int)face.Style), new
FontWeight
((int)face.Weight), new FontStretch((int)face.Stretch));
MS\Internal\FontFace\TypefaceCollection.cs (1)
170
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)
46
return new
FontWeight
(weightValue);
System\Windows\FontWeights.cs (16)
22
public static FontWeight Thin { get { return new
FontWeight
(100); } }
27
public static FontWeight ExtraLight { get { return new
FontWeight
(200); } }
32
public static FontWeight UltraLight { get { return new
FontWeight
(200); } }
37
public static FontWeight Light { get { return new
FontWeight
(300); } }
42
public static FontWeight Normal { get { return new
FontWeight
(400); } }
47
public static FontWeight Regular { get { return new
FontWeight
(400); } }
52
public static FontWeight Medium { get { return new
FontWeight
(500); } }
57
public static FontWeight DemiBold { get { return new
FontWeight
(600); } }
62
public static FontWeight SemiBold { get { return new
FontWeight
(600); } }
67
public static FontWeight Bold { get { return new
FontWeight
(700); } }
72
public static FontWeight ExtraBold { get { return new
FontWeight
(800); } }
77
public static FontWeight UltraBold { get { return new
FontWeight
(800); } }
82
public static FontWeight Black { get { return new
FontWeight
(900); } }
87
public static FontWeight Heavy { get { return new
FontWeight
(900); } }
92
public static FontWeight ExtraBlack { get { return new
FontWeight
(950); } }
97
public static FontWeight UltraBlack { get { return new
FontWeight
(950); } }
System\Windows\Media\GlyphTypeface.cs (1)
587
return new
FontWeight
((int)_font.Weight);