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