Tyler Camp
Tyler Camp

Reputation: 197

Adding a ContentPage as a Child

I'm trying to add a ContentPage to a Grid programatically, but Grid.Children only accepts Views.. How do I display this page as a child of another element?

Upvotes: 0

Views: 337

Answers (2)

Idan Levi
Idan Levi

Reputation: 458

You can't put a page in a grid. What are you trying to achieve?

Upvotes: 2

Jason
Jason

Reputation: 89082

You can't display a page within a Grid. Try using a ContentView instead.

Upvotes: 3

Related Questions