20 references to GetLanguage
PresentationCore (13)
Core\CSharp\MS\Internal\FontFace\FontDifferentiator.cs (1)
38
faceNames.Add(XmlLanguage.
GetLanguage
("en-us"), faceName);
Core\CSharp\MS\Internal\FontFace\PhysicalFontFamily.cs (1)
61
XmlLanguage language = XmlLanguage.
GetLanguage
(pair.Key.Name);
Core\CSharp\MS\Internal\Shaping\CompositeFontFamily.cs (1)
309
ushort[] familyMaps = _fontInfo.GetFamilyMapsOfLanguage(XmlLanguage.
GetLanguage
(culture.IetfLanguageTag));
Core\CSharp\MS\Internal\TextFormatting\TextShapeableCharacters.cs (1)
185
XmlLanguage.
GetLanguage
(CultureMapper.GetSpecificCulture(_properties.CultureInfo).IetfLanguageTag),
Core\CSharp\System\Windows\Markup\XmlLanguage.cs (3)
97
_empty =
GetLanguage
(string.Empty);
587
XmlLanguage parentLanguage = XmlLanguage.
GetLanguage
(culture.IetfLanguageTag);
679
return XmlLanguage.
GetLanguage
(prefix); // throws on null
Core\CSharp\System\Windows\Markup\XmlLanguageConverter.cs (1)
90
return XmlLanguage.
GetLanguage
(ietfLanguageTag);
Core\CSharp\System\Windows\Media\CultureSpecificStringDictionary.cs (1)
364
return XmlLanguage.
GetLanguage
(name);
Core\CSharp\System\Windows\Media\FontFamilyConverter.cs (2)
190
if (culture != null && names.TryGetValue(XmlLanguage.
GetLanguage
(culture.IetfLanguageTag), out name))
195
else if (parentCulture != null && names.TryGetValue(XmlLanguage.
GetLanguage
(parentCulture.IetfLanguageTag), out name))
Core\CSharp\System\Windows\Media\GlyphTypeface.cs (2)
522
adjustedLanguageFaceNames[XmlLanguage.
GetLanguage
(pair.Key.IetfLanguageTag)] = pair.Value;
1775
XmlLanguage.
GetLanguage
(cultureInfo.IetfLanguageTag),
PresentationFramework (7)
src\Framework\MS\Internal\IO\Packaging\XmlGlyphRunInfo.cs (1)
201
XmlLanguage lang = XmlLanguage.
GetLanguage
(languageString);
src\Framework\System\Windows\Documents\FixedSOMPage.cs (1)
100
element.SetValue(FrameworkContentElement.LanguageProperty, XmlLanguage.
GetLanguage
(_cultureInfo.IetfLanguageTag));
src\Framework\System\Windows\Documents\FixedSOMTextRun.cs (1)
238
element.SetValue(FrameworkElement.LanguageProperty, XmlLanguage.
GetLanguage
(_cultureInfo.IetfLanguageTag));
src\Framework\System\Windows\Documents\Speller.cs (1)
1604
language = XmlLanguage.
GetLanguage
(cultureInfo.IetfLanguageTag);
src\Framework\System\windows\Documents\TextEditor.cs (1)
505
range.ApplyPropertyValue(FrameworkElement.LanguageProperty, XmlLanguage.
GetLanguage
(inputCultureInfo.IetfLanguageTag));
src\Framework\System\Windows\FrameworkContentElement.cs (1)
884
XmlLanguage.
GetLanguage
("en-US"),
src\Framework\System\Windows\FrameworkElement.cs (1)
3194
XmlLanguage.
GetLanguage
("en-US"),