localization - Find the flow direction from CurrentCulture in c# -


hi there way flowdirection current culture.

i have set property

public string flowdirection { { return // should return flow direction using thread.currentthread.currentuiculture. } } 

i dont want hardcode like

if (currentlanguage.tolower().startswith("ar")) {      return flowdirection.righttoleft; } else {     return flowdirection.lefttoright; } 

use this: cultureinfo.textinfo.isrighttoleft

taken related question


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -