38 references to LanguageProperty
PresentationFramework (34)
MS\Internal\Documents\DocumentViewerHelper.cs (1)
248XmlLanguage language = (XmlLanguage)textContainer.Parent.GetValue(FrameworkElement.LanguageProperty);
MS\Internal\Text\DynamicPropertyReader.cs (1)
308XmlLanguage language = (XmlLanguage) element.GetValue(FrameworkElement.LanguageProperty);
System\Windows\Controls\Calendar.cs (1)
86LanguageProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnLanguageChanged)));
System\Windows\Controls\DatePicker.cs (1)
94LanguageProperty.OverrideMetadata(typeof(DatePicker), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnLanguageChanged)));
System\Windows\Controls\DateTimeHelper.cs (1)
114if (element.GetValueSource(FrameworkElement.LanguageProperty, null, out hasModifiers) != BaseValueSourceInternal.Default)
System\Windows\Controls\TextRangeAdaptor.cs (2)
152object val = tp.GetValue(FrameworkElement.LanguageProperty); 1279(XmlLanguage)context.GetValue(FrameworkElement.LanguageProperty) :
System\Windows\Controls\TextSearch.cs (1)
815object o = element.GetValue(FrameworkElement.LanguageProperty);
System\Windows\Data\BindingExpression.cs (3)
238else if (dp == FrameworkElement.LanguageProperty && UsesLanguage && d == TargetElement) 1241newSources[offset++] = new WeakDependencySource(TargetElementReference, FrameworkElement.LanguageProperty); 2688if (dp == FrameworkElement.LanguageProperty && UsesLanguage && d == TargetElement)
System\Windows\Data\BindingExpressionBase.cs (2)
1275if (IsInTransfer && (TargetProperty == FrameworkElement.LanguageProperty)) 1293_culture = ((XmlLanguage) target.GetValue(FrameworkElement.LanguageProperty)).GetSpecificCulture();
System\Windows\Data\BindingGroup.cs (1)
1317_culture = ((System.Windows.Markup.XmlLanguage) mentor.GetValue(FrameworkElement.LanguageProperty)).GetSpecificCulture();
System\Windows\Data\CollectionViewSource.cs (1)
830XmlLanguage language = (d != null) ? (XmlLanguage)d.GetValue(FrameworkElement.LanguageProperty) : null;
System\Windows\Data\MultiBindingExpression.cs (3)
236WeakDependencySource[] commonSources = new WeakDependencySource[] { new WeakDependencySource(TargetElement, FrameworkElement.LanguageProperty) }; 454commonSources = new WeakDependencySource[] { new WeakDependencySource(TargetElement, FrameworkElement.LanguageProperty) }; 1037if (UsesLanguage && d == TargetElement && dp == FrameworkElement.LanguageProperty)
System\Windows\Documents\FixedDSBuilder.cs (1)
166XmlLanguage language = (XmlLanguage) _fixedPage.GetValue(FrameworkElement.LanguageProperty);
System\Windows\Documents\FixedElement.cs (1)
64FrameworkElement.LanguageProperty.AddOwner(
System\Windows\Documents\FixedSOMTextRun.cs (1)
233element.SetValue(FrameworkElement.LanguageProperty, XmlLanguage.GetLanguage(_cultureInfo.IetfLanguageTag));
System\Windows\Documents\Speller.cs (3)
309return property == FrameworkElement.LanguageProperty || 1506_textEditor.UiScope.GetValueSource(FrameworkElement.LanguageProperty, null, out hasModifiers) == BaseValueSourceInternal.Default) 1513language = (XmlLanguage)position.GetValue(FrameworkElement.LanguageProperty);
System\windows\Documents\TextEditor.cs (2)
482XmlLanguage language = (XmlLanguage)((ITextPointer)range.Start).GetValue(FrameworkElement.LanguageProperty); 490range.ApplyPropertyValue(FrameworkElement.LanguageProperty, XmlLanguage.GetLanguage(inputCultureInfo.IetfLanguageTag));
System\windows\Documents\TextEditorSpelling.cs (1)
164XmlLanguage language = (XmlLanguage)spellingError.Start.GetValue(FrameworkElement.LanguageProperty);
System\Windows\Documents\TextSchema.cs (3)
43FrameworkElement.LanguageProperty, 1166FrameworkElement.LanguageProperty, 1225FrameworkElement.LanguageProperty,
System\windows\Documents\TextSelection.cs (1)
1495inheritableProperties[i] != FrameworkElement.LanguageProperty &&
System\Windows\FrameworkContentElement.cs (1)
875FrameworkElement.LanguageProperty.AddOwner(
System\Windows\FrameworkElement.cs (2)
3204get { return (XmlLanguage) GetValue(LanguageProperty); } 3205set { SetValue(LanguageProperty, value); }
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\KeyTipService.cs (2)
909if (DependencyPropertyHelper.GetValueSource(element, FrameworkElement.LanguageProperty).BaseValueSource != BaseValueSource.Default) 911XmlLanguage language = (XmlLanguage)element.GetValue(FrameworkElement.LanguageProperty);
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
2550XmlLanguage language = (XmlLanguage)element.GetValue(FrameworkElement.LanguageProperty);
Microsoft\Windows\Controls\TextSearchInternal.cs (1)
860object o = element.GetValue(FrameworkElement.LanguageProperty);