Solved

Localization : set RightToLeft property for all textboxes in the application

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ASP.NET Built-In Report Creator / Viewer 5 40
Visual Studio 2015 auto inserted code 12 88
Web page design problem 3 41
GET INFO ABOUT WHAT THE PRINTER IS DOING ? 11 73
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…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

739 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