38 references to LanguageProperty
PresentationFramework (34)
MS\Internal\Documents\DocumentViewerHelper.cs (1)
246XmlLanguage language = (XmlLanguage)textContainer.Parent.GetValue(FrameworkElement.LanguageProperty);
MS\Internal\Text\DynamicPropertyReader.cs (1)
302XmlLanguage language = (XmlLanguage) element.GetValue(FrameworkElement.LanguageProperty);
System\Windows\Controls\Calendar.cs (1)
82LanguageProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnLanguageChanged)));
System\Windows\Controls\DatePicker.cs (1)
90LanguageProperty.OverrideMetadata(typeof(DatePicker), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnLanguageChanged)));
System\Windows\Controls\DateTimeHelper.cs (1)
112if (element.GetValueSource(FrameworkElement.LanguageProperty, null, out hasModifiers) != BaseValueSourceInternal.Default)
System\Windows\Controls\TextRangeAdaptor.cs (2)
150object val = tp.GetValue(FrameworkElement.LanguageProperty); 1277(XmlLanguage)context.GetValue(FrameworkElement.LanguageProperty) :
System\Windows\Controls\TextSearch.cs (1)
804object o = element.GetValue(FrameworkElement.LanguageProperty);
System\Windows\Data\BindingExpression.cs (3)
229else if (dp == FrameworkElement.LanguageProperty && UsesLanguage && d == TargetElement) 1232newSources[offset++] = new WeakDependencySource(TargetElementReference, FrameworkElement.LanguageProperty); 2679if (dp == FrameworkElement.LanguageProperty && UsesLanguage && d == TargetElement)
System\Windows\Data\BindingExpressionBase.cs (2)
1267if (IsInTransfer && (TargetProperty == FrameworkElement.LanguageProperty)) 1285_culture = ((XmlLanguage) target.GetValue(FrameworkElement.LanguageProperty)).GetSpecificCulture();
System\Windows\Data\BindingGroup.cs (1)
1312_culture = ((System.Windows.Markup.XmlLanguage) mentor.GetValue(FrameworkElement.LanguageProperty)).GetSpecificCulture();
System\Windows\Data\CollectionViewSource.cs (1)
829XmlLanguage language = (d != null) ? (XmlLanguage)d.GetValue(FrameworkElement.LanguageProperty) : null;
System\Windows\Data\MultiBindingExpression.cs (3)
225WeakDependencySource[] commonSources = new WeakDependencySource[] { new WeakDependencySource(TargetElement, FrameworkElement.LanguageProperty) }; 443commonSources = new WeakDependencySource[] { new WeakDependencySource(TargetElement, FrameworkElement.LanguageProperty) }; 1026if (UsesLanguage && d == TargetElement && dp == FrameworkElement.LanguageProperty)
System\Windows\Documents\FixedDSBuilder.cs (1)
158XmlLanguage language = (XmlLanguage) _fixedPage.GetValue(FrameworkElement.LanguageProperty);
System\Windows\Documents\FixedElement.cs (1)
56FrameworkElement.LanguageProperty.AddOwner(
System\Windows\Documents\FixedSOMTextRun.cs (1)
229element.SetValue(FrameworkElement.LanguageProperty, XmlLanguage.GetLanguage(_cultureInfo.IetfLanguageTag));
System\Windows\Documents\Speller.cs (3)
305return property == FrameworkElement.LanguageProperty || 1502_textEditor.UiScope.GetValueSource(FrameworkElement.LanguageProperty, null, out hasModifiers) == BaseValueSourceInternal.Default) 1509language = (XmlLanguage)position.GetValue(FrameworkElement.LanguageProperty);
System\windows\Documents\TextEditor.cs (2)
476XmlLanguage language = (XmlLanguage)((ITextPointer)range.Start).GetValue(FrameworkElement.LanguageProperty); 484range.ApplyPropertyValue(FrameworkElement.LanguageProperty, XmlLanguage.GetLanguage(inputCultureInfo.IetfLanguageTag));
System\windows\Documents\TextEditorSpelling.cs (1)
163XmlLanguage language = (XmlLanguage)spellingError.Start.GetValue(FrameworkElement.LanguageProperty);
System\Windows\Documents\TextSchema.cs (3)
42FrameworkElement.LanguageProperty, 1165FrameworkElement.LanguageProperty, 1224FrameworkElement.LanguageProperty,
System\windows\Documents\TextSelection.cs (1)
1492inheritableProperties[i] != FrameworkElement.LanguageProperty &&
System\Windows\FrameworkContentElement.cs (1)
863FrameworkElement.LanguageProperty.AddOwner(
System\Windows\FrameworkElement.cs (2)
3193get { return (XmlLanguage) GetValue(LanguageProperty); } 3194set { SetValue(LanguageProperty, value); }
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\KeyTipService.cs (2)
907if (DependencyPropertyHelper.GetValueSource(element, FrameworkElement.LanguageProperty).BaseValueSource != BaseValueSource.Default) 909XmlLanguage language = (XmlLanguage)element.GetValue(FrameworkElement.LanguageProperty);
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
2545XmlLanguage language = (XmlLanguage)element.GetValue(FrameworkElement.LanguageProperty);
Microsoft\Windows\Controls\TextSearchInternal.cs (1)
857object o = element.GetValue(FrameworkElement.LanguageProperty);