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