Solved

Localization : set RightToLeft property for all textboxes in the application

Posted on 2011-03-23
1
541 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

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

Suggested Solutions

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:…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

749 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