21 references to FontWeight
PresentationCore (21)
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (1)
572fontWeight = 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)
187return 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)
48return new FontWeight(weightValue);
Core\CSharp\System\Windows\FontWeights.cs (16)
25public static FontWeight Thin { get { return new FontWeight(100); } } 30public static FontWeight ExtraLight { get { return new FontWeight(200); } } 35public static FontWeight UltraLight { get { return new FontWeight(200); } } 40public static FontWeight Light { get { return new FontWeight(300); } } 45public static FontWeight Normal { get { return new FontWeight(400); } } 50public static FontWeight Regular { get { return new FontWeight(400); } } 55public static FontWeight Medium { get { return new FontWeight(500); } } 60public static FontWeight DemiBold { get { return new FontWeight(600); } } 65public static FontWeight SemiBold { get { return new FontWeight(600); } } 70public static FontWeight Bold { get { return new FontWeight(700); } } 75public static FontWeight ExtraBold { get { return new FontWeight(800); } } 80public static FontWeight UltraBold { get { return new FontWeight(800); } } 85public static FontWeight Black { get { return new FontWeight(900); } } 90public static FontWeight Heavy { get { return new FontWeight(900); } } 95public static FontWeight ExtraBlack { get { return new FontWeight(950); } } 100public static FontWeight UltraBlack { get { return new FontWeight(950); } }
Core\CSharp\System\Windows\Media\GlyphTypeface.cs (1)
779return new FontWeight((int)_font.Weight);