5 instantiations of NumberSubstitution
PresentationFramework (5)
src\Framework\MS\Internal\Text\DynamicPropertyReader.cs (1)
328NumberSubstitution numberSubstitution = new NumberSubstitution();
src\Framework\System\Windows\FrameworkContentElement.cs (1)
114internal static readonly NumberSubstitution DefaultNumberSubstitution = new NumberSubstitution(
src\Framework\System\Windows\FrameworkElement.cs (1)
2444internal static readonly NumberSubstitution DefaultNumberSubstitution = new NumberSubstitution(
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7107bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.NumberSubstitution(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1428case KnownElements.NumberSubstitution: o = new System.Windows.Media.NumberSubstitution(); break;
41 references to NumberSubstitution
PresentationCore (19)
Core\CSharp\MS\Internal\TextFormatting\GenericTextProperties.cs (3)
52NumberSubstitution substitution 204public override NumberSubstitution NumberSubstitution 217private NumberSubstitution _numberSubstitution;
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (1)
1660NumberSubstitution sub = properties.NumberSubstitution;
Core\CSharp\MS\Internal\TextFormatting\NumberSubstitution.cs (1)
119NumberSubstitution sub = properties.NumberSubstitution;
Core\CSharp\System\Windows\Media\FormattedText.cs (7)
123NumberSubstitution numberSubstitution) : this( 155NumberSubstitution numberSubstitution, 189NumberSubstitution numberSubstitution, 214NumberSubstitution numberSubstitution, 222double emSize, Brush foreground, NumberSubstitution numberSubstitution, TextFormattingMode textFormattingMode, double pixelsPerDip) 574NumberSubstitution numberSubstitution 588NumberSubstitution numberSubstitution,
Core\CSharp\System\Windows\Media\TextFormatting\NumberSubstitution.cs (5)
157typeof(NumberSubstitution)); 193typeof(NumberSubstitution), 233typeof(NumberSubstitution)); 284NumberSubstitution sub = obj as NumberSubstitution;
Core\CSharp\System\Windows\Media\TextFormatting\TextRunProperties.cs (1)
109public virtual NumberSubstitution NumberSubstitution
Shared\MS\Internal\HashHelper.cs (1)
41typeof(System.Windows.Media.NumberSubstitution), // bug 1612105
PresentationFramework (22)
src\Framework\MS\Internal\Text\DynamicPropertyReader.cs (5)
326internal static NumberSubstitution GetNumberSubstitution(DependencyObject element) 328NumberSubstitution numberSubstitution = new NumberSubstitution(); 330numberSubstitution.CultureSource = (NumberCultureSource)element.GetValue(NumberSubstitution.CultureSourceProperty); 331numberSubstitution.CultureOverride = (CultureInfo)element.GetValue(NumberSubstitution.CultureOverrideProperty); 332numberSubstitution.Substitution = (NumberSubstitutionMethod)element.GetValue(NumberSubstitution.SubstitutionProperty);
src\Framework\MS\Internal\Text\TextProperties.cs (2)
90public override NumberSubstitution NumberSubstitution { get { return _numberSubstitution; } } 369private NumberSubstitution _numberSubstitution;
src\Framework\MS\Internal\Text\TextSpanModifier.cs (1)
245public override NumberSubstitution NumberSubstitution
src\Framework\System\Windows\Documents\TextSchema.cs (3)
47NumberSubstitution.CultureSourceProperty, 48NumberSubstitution.SubstitutionProperty, 49NumberSubstitution.CultureOverrideProperty,
src\Framework\System\Windows\FrameworkContentElement.cs (4)
92NumberSubstitution.CultureSourceProperty.OverrideMetadata(typeof(FrameworkContentElement), new FrameworkPropertyMetadata(NumberCultureSource.Text, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged)); 93NumberSubstitution.CultureOverrideProperty.OverrideMetadata(typeof(FrameworkContentElement), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged)); 94NumberSubstitution.SubstitutionProperty.OverrideMetadata(typeof(FrameworkContentElement), new FrameworkPropertyMetadata(NumberSubstitutionMethod.AsCulture, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged)); 114internal static readonly NumberSubstitution DefaultNumberSubstitution = new NumberSubstitution(
src\Framework\System\Windows\FrameworkElement.cs (4)
2399NumberSubstitution.CultureSourceProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(NumberCultureSource.User, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged)); 2400NumberSubstitution.CultureOverrideProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged)); 2401NumberSubstitution.SubstitutionProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(NumberSubstitutionMethod.AsCulture, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged)); 2444internal static readonly NumberSubstitution DefaultNumberSubstitution = new NumberSubstitution(
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
517case 425: t = () => typeof(NumberSubstitution); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7105typeof(System.Windows.Media.NumberSubstitution),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5969case KnownElements.NumberSubstitution: t = typeof(System.Windows.Media.NumberSubstitution); break;