locked
Custome SQLite esults RRS feed

Answers

  • User176749 posted

    you can try this, if you are using MVVM. it binds to Age property of your model object and extending with text

                <Label>
                                <Label.FormattedText>
                                    <FormattedString>
                                        <Span Text="{Binding Path=Age}"/>
                                        <Span Text=" years old"/>
                                    </FormattedString>
                                </Label.FormattedText>
                            </Label>
    
    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Tuesday, February 18, 2020 2:05 PM

All replies

  • User176749 posted

    you can try this, if you are using MVVM. it binds to Age property of your model object and extending with text

                <Label>
                                <Label.FormattedText>
                                    <FormattedString>
                                        <Span Text="{Binding Path=Age}"/>
                                        <Span Text=" years old"/>
                                    </FormattedString>
                                </Label.FormattedText>
                            </Label>
    
    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Tuesday, February 18, 2020 2:05 PM
  • User377900 posted

    Thank you @batmaci for answer How can I do same thing in code

    Tuesday, February 18, 2020 3:41 PM