4 instantiations of Typography
PresentationFramework (4)
System\Windows\Controls\TextBlock.cs (1)
497return new Typography(this);
System\Windows\Controls\TextBox.cs (1)
943return new Typography(this);
System\Windows\Documents\FlowDocument.cs (1)
722return new Typography(this);
System\Windows\Documents\TextElement.cs (1)
769return new Typography(this);
157 references to Typography
PresentationFramework (157)
MS\Internal\Text\TextProperties.cs (4)
119_typographyProperties = Typography.Default; 265return Typography.Default; 278return Typography.Default; 295return Typography.Default;
System\Windows\Controls\TextBlock.cs (2)
312DependencyProperty[] typographyProperties = Typography.TypographyPropertiesList; 493public Typography Typography
System\Windows\Controls\TextBox.cs (2)
59DependencyProperty[] typographyProperties = Typography.TypographyPropertiesList; 939public Typography Typography
System\Windows\Controls\TextRangeAdaptor.cs (3)
109FontCapitals capsWCP = (FontCapitals)tp.GetValue(Typography.CapitalsProperty); 295FontVariants fontVariants = (FontVariants)tp.GetValue(Typography.VariantsProperty); 306FontVariants fontVariants = (FontVariants)tp.GetValue(Typography.VariantsProperty);
System\Windows\Documents\FlowDocument.cs (2)
83DependencyProperty[] typographyProperties = Typography.TypographyPropertiesList; 718public Typography Typography
System\windows\Documents\TextEditorCharacters.cs (4)
245FontVariants fontVariants = (FontVariants)((TextSelection)This.Selection).GetCurrentValue(Typography.VariantsProperty); 249TextEditorCharacters._OnApplyProperty(This, Typography.VariantsProperty, fontVariants); 264FontVariants fontVariants = (FontVariants)((TextSelection)This.Selection).GetCurrentValue(Typography.VariantsProperty); 268TextEditorCharacters._OnApplyProperty(This, Typography.VariantsProperty, fontVariants);
System\Windows\Documents\TextElement.cs (46)
43DependencyProperty[] typographyProperties = Typography.TypographyPropertiesList; 765public Typography Typography 1029group.SetStandardLigatures((bool) element.GetValue(Typography.StandardLigaturesProperty)); 1030group.SetContextualLigatures((bool) element.GetValue(Typography.ContextualLigaturesProperty)); 1031group.SetDiscretionaryLigatures((bool) element.GetValue(Typography.DiscretionaryLigaturesProperty)); 1032group.SetHistoricalLigatures((bool) element.GetValue(Typography.HistoricalLigaturesProperty)); 1033group.SetAnnotationAlternates((int) element.GetValue(Typography.AnnotationAlternatesProperty)); 1034group.SetContextualAlternates((bool) element.GetValue(Typography.ContextualAlternatesProperty)); 1035group.SetHistoricalForms((bool) element.GetValue(Typography.HistoricalFormsProperty)); 1036group.SetKerning((bool) element.GetValue(Typography.KerningProperty)); 1037group.SetCapitalSpacing((bool) element.GetValue(Typography.CapitalSpacingProperty)); 1038group.SetCaseSensitiveForms((bool) element.GetValue(Typography.CaseSensitiveFormsProperty)); 1039group.SetStylisticSet1((bool) element.GetValue(Typography.StylisticSet1Property)); 1040group.SetStylisticSet2((bool) element.GetValue(Typography.StylisticSet2Property)); 1041group.SetStylisticSet3((bool) element.GetValue(Typography.StylisticSet3Property)); 1042group.SetStylisticSet4((bool) element.GetValue(Typography.StylisticSet4Property)); 1043group.SetStylisticSet5((bool) element.GetValue(Typography.StylisticSet5Property)); 1044group.SetStylisticSet6((bool) element.GetValue(Typography.StylisticSet6Property)); 1045group.SetStylisticSet7((bool) element.GetValue(Typography.StylisticSet7Property)); 1046group.SetStylisticSet8((bool) element.GetValue(Typography.StylisticSet8Property)); 1047group.SetStylisticSet9((bool) element.GetValue(Typography.StylisticSet9Property)); 1048group.SetStylisticSet10((bool) element.GetValue(Typography.StylisticSet10Property)); 1049group.SetStylisticSet11((bool) element.GetValue(Typography.StylisticSet11Property)); 1050group.SetStylisticSet12((bool) element.GetValue(Typography.StylisticSet12Property)); 1051group.SetStylisticSet13((bool) element.GetValue(Typography.StylisticSet13Property)); 1052group.SetStylisticSet14((bool) element.GetValue(Typography.StylisticSet14Property)); 1053group.SetStylisticSet15((bool) element.GetValue(Typography.StylisticSet15Property)); 1054group.SetStylisticSet16((bool) element.GetValue(Typography.StylisticSet16Property)); 1055group.SetStylisticSet17((bool) element.GetValue(Typography.StylisticSet17Property)); 1056group.SetStylisticSet18((bool) element.GetValue(Typography.StylisticSet18Property)); 1057group.SetStylisticSet19((bool) element.GetValue(Typography.StylisticSet19Property)); 1058group.SetStylisticSet20((bool) element.GetValue(Typography.StylisticSet20Property)); 1059group.SetFraction((FontFraction) element.GetValue(Typography.FractionProperty)); 1060group.SetSlashedZero((bool) element.GetValue(Typography.SlashedZeroProperty)); 1061group.SetMathematicalGreek((bool) element.GetValue(Typography.MathematicalGreekProperty)); 1062group.SetEastAsianExpertForms((bool) element.GetValue(Typography.EastAsianExpertFormsProperty)); 1063group.SetVariants((FontVariants) element.GetValue(Typography.VariantsProperty)); 1064group.SetCapitals((FontCapitals) element.GetValue(Typography.CapitalsProperty)); 1065group.SetNumeralStyle((FontNumeralStyle) element.GetValue(Typography.NumeralStyleProperty)); 1066group.SetNumeralAlignment((FontNumeralAlignment) element.GetValue(Typography.NumeralAlignmentProperty)); 1067group.SetEastAsianWidths((FontEastAsianWidths) element.GetValue(Typography.EastAsianWidthsProperty)); 1068group.SetEastAsianLanguage((FontEastAsianLanguage) element.GetValue(Typography.EastAsianLanguageProperty)); 1069group.SetStandardSwashes((int) element.GetValue(Typography.StandardSwashesProperty)); 1070group.SetContextualSwashes((int) element.GetValue(Typography.ContextualSwashesProperty)); 1071group.SetStylisticAlternates((int) element.GetValue(Typography.StylisticAlternatesProperty)); 1620private TypographyProperties _typographyPropertiesGroup = Typography.Default;
System\Windows\Documents\TextRangeSerialization.cs (1)
747propertyName = property.OwnerType == typeof(Typography) ? $"Typography.{property.Name}" : property.Name;
System\Windows\Documents\TextSchema.cs (3)
54_inheritableTextElementProperties = new DependencyProperty[textElementPropertyList.Length + Typography.TypographyPropertiesList.Length]; 56Array.Copy(Typography.TypographyPropertiesList, 0, _inheritableTextElementProperties, textElementPropertyList.Length, Typography.TypographyPropertiesList.Length);
System\Windows\Documents\Typography.cs (87)
19private static readonly Type _typeofThis = typeof(Typography); 361/// <seealso cref="Typography.StandardLigaturesProperty" /> 373/// <seealso cref="Typography.StandardLigaturesProperty" /> 387/// <seealso cref="Typography.ContextualLigaturesProperty" /> 399/// <seealso cref="Typography.ContextualLigaturesProperty" /> 413/// <seealso cref="Typography.DiscretionaryLigaturesProperty" /> 425/// <seealso cref="Typography.DiscretionaryLigaturesProperty" /> 439/// <seealso cref="Typography.HistoricalLigaturesProperty" /> 451/// <seealso cref="Typography.HistoricalLigaturesProperty" /> 465/// <seealso cref="Typography.AnnotationAlternatesProperty" /> 477/// <seealso cref="Typography.AnnotationAlternatesProperty" /> 491/// <seealso cref="Typography.ContextualAlternatesProperty" /> 503/// <seealso cref="Typography.ContextualAlternatesProperty" /> 517/// <seealso cref="Typography.HistoricalFormsProperty" /> 529/// <seealso cref="Typography.HistoricalFormsProperty" /> 543/// <seealso cref="Typography.KerningProperty" /> 555/// <seealso cref="Typography.KerningProperty" /> 569/// <seealso cref="Typography.CapitalSpacingProperty" /> 581/// <seealso cref="Typography.CapitalSpacingProperty" /> 595/// <seealso cref="Typography.CaseSensitiveFormsProperty" /> 607/// <seealso cref="Typography.CaseSensitiveFormsProperty" /> 621/// <seealso cref="Typography.StylisticSet1Property" /> 633/// <seealso cref="Typography.StylisticSet1Property" /> 647/// <seealso cref="Typography.StylisticSet2Property" /> 659/// <seealso cref="Typography.StylisticSet2Property" /> 673/// <seealso cref="Typography.StylisticSet3Property" /> 685/// <seealso cref="Typography.StylisticSet3Property" /> 699/// <seealso cref="Typography.StylisticSet4Property" /> 711/// <seealso cref="Typography.StylisticSet4Property" /> 725/// <seealso cref="Typography.StylisticSet5Property" /> 737/// <seealso cref="Typography.StylisticSet5Property" /> 751/// <seealso cref="Typography.StylisticSet6Property" /> 763/// <seealso cref="Typography.StylisticSet6Property" /> 777/// <seealso cref="Typography.StylisticSet7Property" /> 789/// <seealso cref="Typography.StylisticSet7Property" /> 803/// <seealso cref="Typography.StylisticSet8Property" /> 815/// <seealso cref="Typography.StylisticSet8Property" /> 829/// <seealso cref="Typography.StylisticSet9Property" /> 841/// <seealso cref="Typography.StylisticSet9Property" /> 855/// <seealso cref="Typography.StylisticSet10Property" /> 867/// <seealso cref="Typography.StylisticSet10Property" /> 881/// <seealso cref="Typography.StylisticSet11Property" /> 893/// <seealso cref="Typography.StylisticSet11Property" /> 907/// <seealso cref="Typography.StylisticSet12Property" /> 919/// <seealso cref="Typography.StylisticSet12Property" /> 933/// <seealso cref="Typography.StylisticSet13Property" /> 945/// <seealso cref="Typography.StylisticSet13Property" /> 959/// <seealso cref="Typography.StylisticSet14Property" /> 971/// <seealso cref="Typography.StylisticSet14Property" /> 985/// <seealso cref="Typography.StylisticSet15Property" /> 997/// <seealso cref="Typography.StylisticSet15Property" /> 1011/// <seealso cref="Typography.StylisticSet16Property" /> 1023/// <seealso cref="Typography.StylisticSet16Property" /> 1037/// <seealso cref="Typography.StylisticSet17Property" /> 1049/// <seealso cref="Typography.StylisticSet17Property" /> 1063/// <seealso cref="Typography.StylisticSet18Property" /> 1075/// <seealso cref="Typography.StylisticSet18Property" /> 1089/// <seealso cref="Typography.StylisticSet19Property" /> 1101/// <seealso cref="Typography.StylisticSet19Property" /> 1115/// <seealso cref="Typography.StylisticSet20Property" /> 1127/// <seealso cref="Typography.StylisticSet20Property" /> 1141/// <seealso cref="Typography.FractionProperty" /> 1153/// <seealso cref="Typography.FractionProperty" /> 1167/// <seealso cref="Typography.SlashedZeroProperty" /> 1179/// <seealso cref="Typography.SlashedZeroProperty" /> 1193/// <seealso cref="Typography.MathematicalGreekProperty" /> 1205/// <seealso cref="Typography.MathematicalGreekProperty" /> 1219/// <seealso cref="Typography.EastAsianExpertFormsProperty" /> 1231/// <seealso cref="Typography.EastAsianExpertFormsProperty" /> 1245/// <seealso cref="Typography.VariantsProperty" /> 1257/// <seealso cref="Typography.VariantsProperty" /> 1271/// <seealso cref="Typography.CapitalsProperty" /> 1283/// <seealso cref="Typography.CapitalsProperty" /> 1297/// <seealso cref="Typography.NumeralStyleProperty" /> 1309/// <seealso cref="Typography.NumeralStyleProperty" /> 1323/// <seealso cref="Typography.NumeralAlignmentProperty" /> 1335/// <seealso cref="Typography.NumeralAlignmentProperty" /> 1349/// <seealso cref="Typography.EastAsianWidthsProperty" /> 1361/// <seealso cref="Typography.EastAsianWidthsProperty" /> 1375/// <seealso cref="Typography.EastAsianLanguageProperty" /> 1387/// <seealso cref="Typography.EastAsianLanguageProperty" /> 1401/// <seealso cref="Typography.StandardSwashesProperty" /> 1413/// <seealso cref="Typography.StandardSwashesProperty" /> 1427/// <seealso cref="Typography.ContextualSwashesProperty" /> 1439/// <seealso cref="Typography.ContextualSwashesProperty" /> 1453/// <seealso cref="Typography.StylisticAlternatesProperty" /> 1465/// <seealso cref="Typography.StylisticAlternatesProperty" />
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
786case 693: t = () => typeof(Typography); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11857typeof(System.Windows.Documents.Typography),
System\Windows\Markup\KnownTypes.cs (1)
6240case KnownElements.Typography: t = typeof(System.Windows.Documents.Typography); break;