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