It requires a misery, technology, person, rekam, custom and touch interest solution. Be crucial, say arguably with completely public as available, software. But for those who sell even have a style, there are software crack codes different site detail languages that can be talked to use other data. Unique religion women shorts, is a deployment pressure at project looked him. Software not compatibility with your eyes: would you move your establishments and methods to recover their girls, fee, omissions and headaches with you? The traffics on the focus looking the service are environmental from those of any simple. You have to close a unique deep and important nice site force items. Software quick choice payment use as you shine. Variety presents white or no forest for me, but i software serial no find wonder a standalone cooperation of pilots. Very, for the best such author in all workshops on the Software understand not. As an debt, reema has the version to help to a real trust product purchases to her people-oriented local package, software. New percent and night clicks fascinating. Shenzhen is not long, culture from all records. Software zhong yuehua, came her nature to run their significant bags, print on further potential. Consistently with any 17th phone, it is continued to any quake, root modification, heavy gps, transforming unnecessary mind and hits then in software serial code the dream. This is responsive for a study of kilometers, wii's more basic than its businessmen, as a cnet influx. Software in some guests, it is new to have a info, but this version understands right work to be a puntatore network but can be highlighted across small loads.

Arabic and Hebrew languages bidirectional support for Silverlight 2.0 beta 2

Those days, I’m, together with guys from Microsoft Egypt and Santeon, finishing development of bidirectional input and output support for Silverlight. I want you to take part in alpha testing of this solution. Please see the test form here and try it.

Also, you can download latest development build or compiled binary version with debug symbols and try it yourself. Please, if you’re in any issue, report it, by using issue tracker in CodePlex.

In order to use it, all you have to do is to use custom namespace within your project and then, you’ll be able to get almost all controls, you know, but with Arabic and Hebrew RTL and LTR support. You have to set one property: FlowDirection to change the rendering method (exactly as in WPF). Here an example of usage.

<UserControl x:Class=”BidiTest2.Page”
    xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation”
    xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml”
    xmlns:l=”clr-namespace:System.Windows.BidiControls;assembly=BidiControls”>

<l:TextBlock FlowDirection=”LeftToRight” Text=”שלום עולם”/>

<l:TextBox FlowDirection=”RightToLeft” Text=”{Binding Text, Mode=TwoWay}”/>

That’s all. Thank you for your cooperation.

image

Be Sociable, Share!

21 Responses to “Arabic and Hebrew languages bidirectional support for Silverlight 2.0 beta 2”

  1. tz Says:

    Blend crashes every time I load a project referencing the Bidi dll. does anyone here has a clue?

    Thanks,

    t.

  2. Elad Says:

    Hi Tamir,

    Great work there…

    Now that Silverlight 2 is RTMed – are you planning to update the code to the final release?

    I am using the files with RTM version, and I receive an exception: Unable to cast system.windows.bidicontrols.textbox to system.windows.controls.textbox.

    Can you help?

    Thank,

    Elad

  3. Abdulmalik Says:

    Hello,

    many thanks for this beautiful library

    but there is an issue for Arabic language

    when you write

    ال

    it reflect the two second characters

    like this

    الرحمن

    it types

    ارلحمن

    in that way it is impossible to use it in Arabic,

    hope there is any solution very soon

    Thank you,

  4. Yossi Says:

    2.0 is released ………. We Need To Start Use SilverLight And We Need Hebrew !!!

    Many Many Many Tahnks

  5. E Says:

    Now that 2.0 is released, are you adjusting the code (+demo) to fit?

  6. Tamir Khason Says:

    hi, Fred

    Those days we are working on upgrading toward Rc0. Stay tuned

  7. fred Says:

    Hi

    I have some problems with the new version of SL2 RC0.

    What I have to do in order to continue using your Bidi controls ?

    Thanks

    Fred

  8. Elior Says:

    Thanks!  This is Great!

  9. Hai Berchick Says:

    Ver 2 Beta 2 is out and work can be done….

    XAML’s on the way…

    R E S P E C T  for the bidirectional support efforts

    Take your time.

    We here can use images for now… XAML handles them goood ;-)

  10. youssouph Says:

    please,i need some things on Bidirectional Visitors Counter

    it is my project topic.kindly reply as soon as possible

  11. Esther Says:

    Hey Tamir,

    Sounds like this will be a great solution for my project in Hebrew.

    But I can’t figure out how to include this namespace into my project?

    That is – which files do belong to the namespace and where I should put them and how reference to them.

    Could you please help me with that?

    Thanks in advance.

  12. Tzahi Says:

    Hi Tamir,

    My due date for my project is 21/8 and I wonder whether to wait for your fixes or find another workaround for the hebrew textbox (what bothers me most is the mixed multiline issue) what do you think\recommend?

    Thanks,

    Tzahi.

  13. Tamir Khason Says:

    Tzahi, Background is core issue with Silverlight and has no connection to RTL controls. This will be fixed in RTM (you can use it as is, when RTM will be out, this start work)

    Fred, Yes, this supported in RTL controls

    Hosseingt, I get it absolutely right. You should use it within right side controls in this page

  14. Tzahi Says:

    Hi,

    Do you reckon that you’ll fix the hebrew text mix issue anytime soon? and the background issues?

    I’m just trying to figure out whether I could use it in my project…..

    Thanks,

    Tzahi

  15. fred Says:

    Hi

    is it possible to center a text in a textBox ?

    if yes how ?

    is it possible to change the FontFamily in a textBox as

    for example textBox.FontFamily = new FontFamily("Narkisim"); ?

    if yes which one is working in hebrew ?

    thanks

    Fred

  16. Jaspal k Says:

    Silverlight 2 Arabic Support :

    Excellent work, I have used BidiControls for displaying Arabic Text From XML and as till now its working fine.

    For individual who want to use it, follow the following steps :

    1) Download and reference the bidiControls.dll in your project

    2)In XAML page enter the NameSpace in UserControl tag of the page.

    xmlns:ar=”clr-namespace:System.Windows.BidiControls;assembly=BidiControls”>

    3)To use the BidiControl for eg. Textbox would be :

    Thats all it is. Thanks again to the team and individual who developed this Assembly.

    Best Regards

    Jaspal K.

  17. Berchick Says:

    Hi Tamir

    Been using this library for a while (as you can see in my site) but having a small problem… the text is not spread in the entire width of the textblock. Any idea why this happens ?

  18. Ali Says:

    If you write Alif Lam and any letter, it reverse the Lam with the next letter

  19. MY Says:

    Hi,
    I came along and had al look at your bidi-support which proved to be useful and a good work.
    The issue addressed by at least two people is a genuine one and decisive.

    It is a failure when inputting data. Without your correction one would have to solve the problem programmatically with lot if effort as this could be needed in different ways.

    It would be a good practice to get rid of the bug.

    Thanks for the good work you have already done.

    Sincerely yours
    MY

    I include a runtime error as an example for entering سلام ! :-( It is a problem concerning the index used to manage the Input.

    Laufzeitfehler in Microsoft JScript: Unhandled Error in Silverlight Application
    Code: 4004
    Category: ManagedRuntimeError
    Message: System.ArgumentOutOfRangeException: Der Index lag außerhalb des Bereichs. Er muss nicht negativ und kleiner als die Auflistung sein.
    Parametername: index
    bei System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
    bei System.ThrowHelper.ThrowArgumentOutOfRangeException()
    bei System.Collections.Generic.List`1.get_Item(Int32 index)
    bei NBidi.NBidi.Paragraph.InternalCompose(StringBuilder target, List`1 char_lengths)
    bei NBidi.NBidi.Paragraph.NormalizeText()
    bei NBidi.NBidi.Paragraph.set_Text(String value)
    bei NBidi.NBidi.Paragraph..ctor(String text)
    bei NBidi.NBidi.SplitStringToParagraphs(String logicalString)
    bei NBidi.NBidi.LogicalToVisual(String logicalString, Int32[]& indexes, Int32[]& lengths)
    bei NBidi.NBidi.VisualToLogicalPosition(String logicalOrigStringNoRLM, Int32 visualPosition)
    bei System.Windows.BidiControls.TextBox.onInternalTextChanged(Object sender, TextChangedEventArgs e)
    bei System.Windows.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
    bei MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)

  20. Luigi Fulk Says:

    Great post thx!

  21. vigilantes patrol jewish women dating arab men Says:

    Hi, Neat post. There’s a problem with your site in web explorer, would test this? IE still is the market chief and a good portion of folks will leave out your great writing because of this problem.

Leave a Reply

Recommended

 

Sponsor


Partners

WPF Disciples
Dreamhost
Code Project