Solved

Localization : set RightToLeft property for all textboxes in the application

Posted on 2011-03-23
1
539 Views
Last Modified: 2012-05-11
I currently set the application culture in appsetting via
Thread.CurrentThread.CurrentUICulture = new CultureInfo(culture);
This forces the application to use the appropriate resource file for the selected culture.

However currently I need to go to each individual winform and set the RightToLeft property to Yes for cultures that the script is written from right to left.

Is there a way to globally set all inputs such as textboxes to have their  RightToLeft  property?
0
Comment
Question by:Berico
1 Comment
 
LVL 11

Accepted Solution

by:
lenordiste earned 250 total points
ID: 35202100
I don't think this can be done with winforms. This feature however comes out of the box with WPF: when you specify a local, your controls will have the correct RightToLeft behavior without any additional work.

if you are stuck with winforms you can still look for 3rd party controls which handles this feature:
http://www.telerik.com/products/winforms/getting-started/right-to-left-support.aspx
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question