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