C# 从c中的CurrentCulture中查找流向#

C# 从c中的CurrentCulture中查找流向#,c#,localization,C#,Localization,嗨 有没有办法获得当前区域性的流向 我设置了一个类似的属性 public string FlowDirection { get { return // should return the flow direction using Thread.CurrentThread.CurrentUICulture. } } 我不想硬编码像这样的东西 if (currentLanguage.ToLower().StartsWith("ar")) { return FlowDirection.Ri

嗨 有没有办法获得当前区域性的流向

我设置了一个类似的属性

public string FlowDirection
{
get {
return // should return the flow direction using Thread.CurrentThread.CurrentUICulture.
}
}
我不想硬编码像这样的东西

if (currentLanguage.ToLower().StartsWith("ar"))
{
     return FlowDirection.RightToLeft;
}
else
{
    return FlowDirection.LeftToRight;
}

使用此选项:
CultureInfo.TextInfo.IsRightToLeft


摘自Hi的可能副本,忘了提及,我使用的是Silverlight 4.0,CultureInfo.TextInfo中似乎没有IsRightToLeft的属性