21 references to NumberCultureSource
PresentationCore (16)
MS\Internal\TextFormatting\LineServicesCallbacks.cs (3)
1552
case
NumberCultureSource
.Text:
1555
case
NumberCultureSource
.User:
1558
case
NumberCultureSource
.Override:
MS\Internal\TextFormatting\NumberSubstitution.cs (3)
128
case
NumberCultureSource
.Text:
131
case
NumberCultureSource
.User:
135
case
NumberCultureSource
.Override:
System\Windows\Media\textformatting\NumberSubstitution.cs (10)
25
_source =
NumberCultureSource
.Text;
37
NumberCultureSource
source,
51
public
NumberCultureSource
CultureSource
57
if ((uint)value > (uint)
NumberCultureSource
.Override)
58
throw new InvalidEnumArgumentException("CultureSource", (int)value, typeof(
NumberCultureSource
));
139
typeof(
NumberCultureSource
),
145
public static void SetCultureSource(DependencyObject target,
NumberCultureSource
value)
156
public static
NumberCultureSource
GetCultureSource(DependencyObject target)
160
return (
NumberCultureSource
)(target.GetValue(CultureSourceProperty));
261
private
NumberCultureSource
_source;
PresentationFramework (5)
MS\Internal\Text\DynamicPropertyReader.cs (1)
321
numberSubstitution.CultureSource = (
NumberCultureSource
)element.GetValue(NumberSubstitution.CultureSourceProperty);
System\Windows\FrameworkContentElement.cs (2)
83
NumberSubstitution.CultureSourceProperty.OverrideMetadata(typeof(FrameworkContentElement), new FrameworkPropertyMetadata(
NumberCultureSource
.Text, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged));
106
NumberCultureSource
.Text, // number substitution in documents defaults to text culture
System\Windows\FrameworkElement.cs (2)
2391
NumberSubstitution.CultureSourceProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(
NumberCultureSource
.User, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged));
2437
NumberCultureSource
.User, // number substitution in UI defaults to user culture