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);
71 references to Typography
PresentationFramework (71)
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 (1)
19private static readonly Type _typeofThis = typeof(Typography);
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;