Dynamic XAML Content for a Rating page module

TeemeeTeemee ✭✭USMember ✭✭

Hello,

The requirement is I need to have a rating page. We will be getting the questions in the database and we need to have a dynamic implementation of Rating control base on the number of questions. I am assuming that we need to create the controls in the backend(.cs file). We will be using the syncfusion control SfRating. Any idea or sample codes on how to create a xaml design in the code behind?

Best Answer

Answers

  • TeemeeTeemee ✭✭ USMember ✭✭

    Hello LandLu,

    So that is how to define an element inside an another element. Thank you :-)

  • LandLuLandLu Xamurai Member, Xamarin Team Xamurai

    @Teemee What do you mean an element inside another element?
    Actually, only controls like layout can wrap other elements. Refer to this documentation for more details: https://docs.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/controls/layouts.
    If you want to show a set of controls you have to place them in a layout control.

  • TeemeeTeemee ✭✭ USMember ✭✭
    edited February 15

    Hello LandLu,

    Nevermind my last statement. thank you

Sign In or Register to comment.