Solved

Localization : set RightToLeft property for all textboxes in the application

Posted on 2011-03-23
1
538 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

911 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now