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