RightToLeftAutoMirrorImage, what’s that?

It’s a mouthful, but we wanted to provide descriptive words for this property. This property is in the Strip controls, the MenuStrip , ToolStrip , StatusStrip , and ContextMenuStrip controls, in WinForms. When you set RightToLeft=Yes, your strip control items are automatically rearranged from right-to- left. Even more, there is an additional property for the…

0

Reshape Arabic letters for Designers

Once again I got a request from a friend, actually I got the request from two friends but the first one was too sophisticated, they needed to shape Arabic characters to display on Windows Phone 7. However, the second request was to shape and re-order Arabic characters to use them in Expression Design. Microsoft Expression…

3

Arabic Windows Forms Applications

This is another article that I wrote earlier about Arabic WinForm applications. I’m republishing it for your reference. I hope you enjoy it too. You are sometimes faced with some challenges to develop Arabic applications. Most of these issues are due to the fact that Arabic is a right-to-left (rtl) language, where the letters are…

1

DataGridView with RTL Columns

I had an interesting customer scenario, which is common among developers that deal with more than language. Basically you have an English WinForm application that uses the DataGridView , but you have the Names field in Arabic. So, you want to keep the DataGridView in English , but change one column only to right-to-left. I…

4

Layout Controls Properly without Re-arranging them Manually

I had a question last week from a customer who wanted to display a right-to-left WinForm but doesn’t want to manually rearrange the items from right-to-left. What would be the recommended way to obtain the correct layout without rearranging the items?The recommended solution is to use the new *LayoutPanels (TableLayoutPanel and FlowLayoutPanel) and SplitContainer instead…

1

Changing the input language in a textbox at runtime

Today, I’ll talk about changing the input language for a textbox at runtime, in VS 2005. The might have two textboxes and each would expect a different input language. In my example, I need TextBox1 to receive Arabic input, while TextBox2 should receive English input. These are the steps to do so:Step 1: Enumerate the InputLanguage…

17

ContextMenuStrip images don't update quickly, if you have controls with different RightToLeft settings

A customer complained that the ContextMenuStrip didn’t render images correctly when assigned to more than one control, where, some controls were RightToLeft, while the other controls were not RightToLeft. In this case, the context menu doesn’t update its layout, so that it doesn’t render from RightToLeft to LeftToRight quickly. The solution is to enforce the…

0