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