5 instantiations of NumberSubstitution
PresentationFramework (5)
MS\Internal\Text\DynamicPropertyReader.cs (1)
325NumberSubstitution numberSubstitution = new NumberSubstitution();
System\Windows\FrameworkContentElement.cs (1)
117internal static readonly NumberSubstitution DefaultNumberSubstitution = new NumberSubstitution(
System\Windows\FrameworkElement.cs (1)
2447internal static readonly NumberSubstitution DefaultNumberSubstitution = new NumberSubstitution(
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7111bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.NumberSubstitution(); };
System\Windows\Markup\KnownTypes.cs (1)
1427case KnownElements.NumberSubstitution: o = new System.Windows.Media.NumberSubstitution(); break;
41 references to NumberSubstitution
PresentationCore (19)
MS\Internal\TextFormatting\GenericTextProperties.cs (3)
51NumberSubstitution substitution 203public override NumberSubstitution NumberSubstitution 216private NumberSubstitution _numberSubstitution;
MS\Internal\TextFormatting\LineServicesCallbacks.cs (1)
1560NumberSubstitution sub = properties.NumberSubstitution;
MS\Internal\TextFormatting\NumberSubstitution.cs (1)
123NumberSubstitution sub = properties.NumberSubstitution;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\HashHelper.cs (1)
43typeof(System.Windows.Media.NumberSubstitution), // bug 1612105
System\Windows\Media\FormattedText.cs (7)
121NumberSubstitution numberSubstitution) : this( 153NumberSubstitution numberSubstitution, 187NumberSubstitution numberSubstitution, 212NumberSubstitution numberSubstitution, 220double emSize, Brush foreground, NumberSubstitution numberSubstitution, TextFormattingMode textFormattingMode, double pixelsPerDip) 562NumberSubstitution numberSubstitution 576NumberSubstitution numberSubstitution,
System\Windows\Media\textformatting\NumberSubstitution.cs (5)
154typeof(NumberSubstitution)); 184typeof(NumberSubstitution), 218typeof(NumberSubstitution)); 263NumberSubstitution sub = obj as NumberSubstitution;
System\Windows\Media\textformatting\TextRunProperties.cs (1)
107public virtual NumberSubstitution NumberSubstitution
PresentationFramework (22)
MS\Internal\Text\DynamicPropertyReader.cs (5)
323internal static NumberSubstitution GetNumberSubstitution(DependencyObject element) 325NumberSubstitution numberSubstitution = new NumberSubstitution(); 327numberSubstitution.CultureSource = (NumberCultureSource)element.GetValue(NumberSubstitution.CultureSourceProperty); 328numberSubstitution.CultureOverride = (CultureInfo)element.GetValue(NumberSubstitution.CultureOverrideProperty); 329numberSubstitution.Substitution = (NumberSubstitutionMethod)element.GetValue(NumberSubstitution.SubstitutionProperty);
MS\Internal\Text\TextProperties.cs (2)
87public override NumberSubstitution NumberSubstitution { get { return _numberSubstitution; } } 362private NumberSubstitution _numberSubstitution;
MS\Internal\Text\TextSpanModifier.cs (1)
237public override NumberSubstitution NumberSubstitution
System\Windows\Documents\TextSchema.cs (3)
45NumberSubstitution.CultureSourceProperty, 46NumberSubstitution.SubstitutionProperty, 47NumberSubstitution.CultureOverrideProperty,
System\Windows\FrameworkContentElement.cs (4)
95NumberSubstitution.CultureSourceProperty.OverrideMetadata(typeof(FrameworkContentElement), new FrameworkPropertyMetadata(NumberCultureSource.Text, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged)); 96NumberSubstitution.CultureOverrideProperty.OverrideMetadata(typeof(FrameworkContentElement), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged)); 97NumberSubstitution.SubstitutionProperty.OverrideMetadata(typeof(FrameworkContentElement), new FrameworkPropertyMetadata(NumberSubstitutionMethod.AsCulture, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged)); 117internal static readonly NumberSubstitution DefaultNumberSubstitution = new NumberSubstitution(
System\Windows\FrameworkElement.cs (4)
2402NumberSubstitution.CultureSourceProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(NumberCultureSource.User, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged)); 2403NumberSubstitution.CultureOverrideProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged)); 2404NumberSubstitution.SubstitutionProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(NumberSubstitutionMethod.AsCulture, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged)); 2447internal static readonly NumberSubstitution DefaultNumberSubstitution = new NumberSubstitution(
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
521case 425: t = () => typeof(NumberSubstitution); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7109typeof(System.Windows.Media.NumberSubstitution),
System\Windows\Markup\KnownTypes.cs (1)
5979case KnownElements.NumberSubstitution: t = typeof(System.Windows.Media.NumberSubstitution); break;