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