adding label to excisting xaml layout (in the C# file)

MeccieMeccie USMember ✭✭
edited November 9 in Xamarin.Forms

hey Developers!
i have no idea how to do this

and i want to add another frame with labels within that frams to an already excisting frame (in my xaml)

         ```foreach (var user in werknemer._werknemers)
            {

            }```

this is where i want to add the frames + labels + buttons etc

help me please ^^

Best Answer

Answers

  • MeccieMeccie USMember ✭✭
  • MeccieMeccie USMember ✭✭

    @AdamMeaney nvm i made the biggest rookie mistake ever.....i tried it ont the frame not the stacklayout >.<

  • AdamMeaneyAdamMeaney USMember ✭✭✭✭
    edited November 9

    It wouldn't. Frames have content, which is a single item.

    If you want to add multiple things inside the Frame, the Content of the Frame needs to be a Layout, such as StackLayout or Grid.

    EDIT: Glad to see you figured it out.

Sign In or Register to comment.