21 references to NumberCultureSource
PresentationCore (16)
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (3)
1671
case
NumberCultureSource
.Text:
1674
case
NumberCultureSource
.User:
1677
case
NumberCultureSource
.Override:
Core\CSharp\MS\Internal\TextFormatting\NumberSubstitution.cs (3)
130
case
NumberCultureSource
.Text:
133
case
NumberCultureSource
.User:
137
case
NumberCultureSource
.Override:
Core\CSharp\System\Windows\Media\TextFormatting\NumberSubstitution.cs (10)
42
_source =
NumberCultureSource
.Text;
54
NumberCultureSource
source,
68
public
NumberCultureSource
CultureSource
74
if ((uint)value > (uint)
NumberCultureSource
.Override)
75
throw new InvalidEnumArgumentException("CultureSource", (int)value, typeof(
NumberCultureSource
));
156
typeof(
NumberCultureSource
),
162
public static void SetCultureSource(DependencyObject target,
NumberCultureSource
value)
176
public static
NumberCultureSource
GetCultureSource(DependencyObject target)
183
return (
NumberCultureSource
)(target.GetValue(CultureSourceProperty));
296
private
NumberCultureSource
_source;
PresentationFramework (5)
src\Framework\MS\Internal\Text\DynamicPropertyReader.cs (1)
330
numberSubstitution.CultureSource = (
NumberCultureSource
)element.GetValue(NumberSubstitution.CultureSourceProperty);
src\Framework\System\Windows\FrameworkContentElement.cs (2)
92
NumberSubstitution.CultureSourceProperty.OverrideMetadata(typeof(FrameworkContentElement), new FrameworkPropertyMetadata(
NumberCultureSource
.Text, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged));
115
NumberCultureSource
.Text, // number substitution in documents defaults to text culture
src\Framework\System\Windows\FrameworkElement.cs (2)
2399
NumberSubstitution.CultureSourceProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(
NumberCultureSource
.User, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged));
2445
NumberCultureSource
.User, // number substitution in UI defaults to user culture