33 references to LanguageProperty
PresentationFramework (33)
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (1)
263XmlLanguage language = (XmlLanguage)textContainer.Parent.GetValue(FrameworkElement.LanguageProperty);
src\Framework\MS\Internal\Text\DynamicPropertyReader.cs (1)
311XmlLanguage language = (XmlLanguage) element.GetValue(FrameworkElement.LanguageProperty);
src\Framework\System\Windows\Controls\Calendar.cs (1)
87LanguageProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnLanguageChanged)));
src\Framework\System\Windows\Controls\DateTimeHelper.cs (1)
114if (element.GetValueSource(FrameworkElement.LanguageProperty, null, out hasModifiers) != BaseValueSourceInternal.Default)
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (2)
160object val = tp.GetValue(FrameworkElement.LanguageProperty); 1288(XmlLanguage)context.GetValue(FrameworkElement.LanguageProperty) :
src\Framework\System\Windows\Controls\TextSearch.cs (1)
833object o = element.GetValue(FrameworkElement.LanguageProperty);
src\Framework\System\Windows\Data\BindingExpression.cs (3)
243else if (dp == FrameworkElement.LanguageProperty && UsesLanguage && d == TargetElement) 1234newSources[offset++] = new WeakDependencySource(TargetElementReference, FrameworkElement.LanguageProperty); 2663if (dp == FrameworkElement.LanguageProperty && UsesLanguage && d == TargetElement)
src\Framework\System\Windows\Data\BindingExpressionBase.cs (2)
1278if (IsInTransfer && (TargetProperty == FrameworkElement.LanguageProperty)) 1295_culture = ((XmlLanguage) target.GetValue(FrameworkElement.LanguageProperty)).GetSpecificCulture();
src\Framework\System\Windows\Data\BindingGroup.cs (1)
1319_culture = ((System.Windows.Markup.XmlLanguage) mentor.GetValue(FrameworkElement.LanguageProperty)).GetSpecificCulture();
src\Framework\System\Windows\Data\CollectionViewSource.cs (1)
832XmlLanguage language = (d != null) ? (XmlLanguage)d.GetValue(FrameworkElement.LanguageProperty) : null;
src\Framework\System\Windows\Data\MultiBindingExpression.cs (3)
237WeakDependencySource[] commonSources = new WeakDependencySource[] { new WeakDependencySource(TargetElement, FrameworkElement.LanguageProperty) }; 454commonSources = new WeakDependencySource[] { new WeakDependencySource(TargetElement, FrameworkElement.LanguageProperty) }; 1037if (UsesLanguage && d == TargetElement && dp == FrameworkElement.LanguageProperty)
src\Framework\System\Windows\Documents\FixedDSBuilder.cs (1)
172XmlLanguage language = (XmlLanguage) _fixedPage.GetValue(FrameworkElement.LanguageProperty);
src\Framework\System\Windows\Documents\FixedElement.cs (1)
68FrameworkElement.LanguageProperty.AddOwner(
src\Framework\System\Windows\Documents\FixedSOMTextRun.cs (1)
238element.SetValue(FrameworkElement.LanguageProperty, XmlLanguage.GetLanguage(_cultureInfo.IetfLanguageTag));
src\Framework\System\Windows\Documents\Speller.cs (3)
333return property == FrameworkElement.LanguageProperty || 1601_textEditor.UiScope.GetValueSource(FrameworkElement.LanguageProperty, null, out hasModifiers) == BaseValueSourceInternal.Default) 1608language = (XmlLanguage)position.GetValue(FrameworkElement.LanguageProperty);
src\Framework\System\windows\Documents\TextEditor.cs (2)
497XmlLanguage language = (XmlLanguage)((ITextPointer)range.Start).GetValue(FrameworkElement.LanguageProperty); 505range.ApplyPropertyValue(FrameworkElement.LanguageProperty, XmlLanguage.GetLanguage(inputCultureInfo.IetfLanguageTag));
src\Framework\System\windows\Documents\TextEditorSpelling.cs (1)
166XmlLanguage language = (XmlLanguage)spellingError.Start.GetValue(FrameworkElement.LanguageProperty);
src\Framework\System\Windows\Documents\TextSchema.cs (3)
45FrameworkElement.LanguageProperty, 1168FrameworkElement.LanguageProperty, 1227FrameworkElement.LanguageProperty,
src\Framework\System\windows\Documents\TextSelection.cs (1)
1498inheritableProperties[i] != FrameworkElement.LanguageProperty &&
src\Framework\System\Windows\FrameworkContentElement.cs (1)
881FrameworkElement.LanguageProperty.AddOwner(
src\Framework\System\Windows\FrameworkElement.cs (2)
3203get { return (XmlLanguage) GetValue(LanguageProperty); } 3204set { SetValue(LanguageProperty, value); }