Smaug
Smaug

Reputation: 2673

How to use my native script (Tamil) in textbox wpf controls

I'd like to use my native language script (Tamil). I've decided to use the windows default font Latha, which was designed especially for Tamil. However I couldn't type the native language in the text box. when i was typing it was capturing English only. How to achieve this ?

Any help would be greatly appreciated !!

Upvotes: 6

Views: 631

Answers (1)

asitis
asitis

Reputation: 3031

have you tried with adding custom font family resource like this ?

<FontFamily x:Key="MyFontFamily">/Fonts/FontName__.TTF</FontFamily>

and you can use this Style to your TextBox FontFamily.

Upvotes: 2

Related Questions