21 references to FontWeight
PresentationCore (21)
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (1)
572
fontWeight = new
FontWeight
((int)font.Weight);
Core\CSharp\MS\Internal\FontFace\PhysicalFontFamily.cs (1)
254
_style = new MatchingStyle(new FontStyle((int)face.Style), new
FontWeight
((int)face.Weight), new FontStretch((int)face.Stretch));
Core\CSharp\MS\Internal\FontFace\TypefaceCollection.cs (1)
187
return new Typeface(_typefaceCollection._fontFamily, new FontStyle((int)face.Style), new
FontWeight
((int)face.Weight), new FontStretch((int)face.Stretch));
Core\CSharp\System\Windows\FontWeight.cs (1)
48
return new
FontWeight
(weightValue);
Core\CSharp\System\Windows\FontWeights.cs (16)
25
public static FontWeight Thin { get { return new
FontWeight
(100); } }
30
public static FontWeight ExtraLight { get { return new
FontWeight
(200); } }
35
public static FontWeight UltraLight { get { return new
FontWeight
(200); } }
40
public static FontWeight Light { get { return new
FontWeight
(300); } }
45
public static FontWeight Normal { get { return new
FontWeight
(400); } }
50
public static FontWeight Regular { get { return new
FontWeight
(400); } }
55
public static FontWeight Medium { get { return new
FontWeight
(500); } }
60
public static FontWeight DemiBold { get { return new
FontWeight
(600); } }
65
public static FontWeight SemiBold { get { return new
FontWeight
(600); } }
70
public static FontWeight Bold { get { return new
FontWeight
(700); } }
75
public static FontWeight ExtraBold { get { return new
FontWeight
(800); } }
80
public static FontWeight UltraBold { get { return new
FontWeight
(800); } }
85
public static FontWeight Black { get { return new
FontWeight
(900); } }
90
public static FontWeight Heavy { get { return new
FontWeight
(900); } }
95
public static FontWeight ExtraBlack { get { return new
FontWeight
(950); } }
100
public static FontWeight UltraBlack { get { return new
FontWeight
(950); } }
Core\CSharp\System\Windows\Media\GlyphTypeface.cs (1)
779
return new
FontWeight
((int)_font.Weight);