I have looked around, but I have been unable to figure this out, some languages are read and written from right to left, instead of left to right. It seems like a no-brainer to be able to get the text direction from the CultureInfo object somehow, but I have not seen it anywhere. Am I missing something?
views:
290answers:
1
+6
A:
CultureInfo.TextInfo.IsRightToLeft
To Find this, I looked at the properties of CultureInfo. One named "TextInfo" seemed likely to have text properties in it. I then looked at the properties of the TextInfo class and found IsRightToLeft.
Total time, about 45 seconds.
John Saunders
2009-07-14 20:22:39
Thanks John. I was inspecting the CultureInfo object, but I overlooked this.
Chris Mullins
2009-07-14 20:34:02