Command Span Not Working Persian

fakhravarifakhravari Member ✭✭
edited May 24 in Xamarin.Forms

hi
not working persian lang in run Command

I do not have a problem with English :)
I did not run when Farsi text :o

                    <Label>
                        <Label.FormattedText>
                            <FormattedString>
                                <Span Text="Forget" ForegroundColor="Red">
                                    <Span.GestureRecognizers>
                                        <TapGestureRecognizer Command="{Binding GoToForgetPage}" />
                                    </Span.GestureRecognizers>
                                </Span>
                                <Span Text="Forgot your password?" ForegroundColor="DodgerBlue">
                                    <Span.GestureRecognizers>
                                        <TapGestureRecognizer Command="{Binding GoToForgetPage}" />
                                    </Span.GestureRecognizers>
                                </Span>
                            </FormattedString>
                        </Label.FormattedText>
                    </Label>


    public ICommand GoToForgetPage { get; private set; }

    public LoginPage()
    {
        InitializeComponent();
        GoToForgetPage = new Command(async () => await DisplayAlert("Tapped", "This is a tapped Span.", "OK"));
        BindingContext = this;
    }

Answers

  • JarvanJarvan Member, Xamarin Team Xamurai
    edited May 24

    I reproduced you code and it works well. What did you mean 'not working persian lang in run Command'?

  • fakhravarifakhravari Member ✭✭
    yes
    to change text = فراموشی رمز عبور
    not workink
Sign In or Register to comment.