I use an <Frame>
in my xaml
page like this:
<StackLayout>
<Frame>
<StackLayout>
<Button></Button>
<Label></Label>
</StackLayout>
<StackLayout>
<Label></Label>
</StackLayout>
</Frame>
</StackLayout>
But I want to do the same thing on the C# side.
I define the StackLayout
, Label
and Button
.
Now I can add the Button
to the StackLayout
using Children
, but I cannot add the StackLayout
to the Frame
because it doesn't have a Children
property.
Is it possible to add a StackLayout
inside a Frame
using C# as background code ?