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