How to change the color and positioning of two Labels side by side in XAML?

Asked

Viewed 61 times

0

    <Label>
            <Label.FormattedText>
                <FormattedString>
                    <Span Text="R$"
                          FontAttributes="Bold"
                          FontSize="Large"/>
                    <Span x:Name="CalculoParcial"
                          FontAttributes="Bold"
                          FontSize="Large"/>
                </FormattedString>
            </Label.FormattedText>
        </Label>
  • XAML [tag:Xamarin.Forms] or [tag:wpf]?

  • Excuse me, XAML of Xamarin Forms

  • In the code you shared you have only 1 label with two parts like FormattedString. In this case you can’t change positioning, only formatting.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.