Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Binding in nested layout

$
0
0

In my project I have the following structure

  • TabbedPage main page
  • ContentPage child page within there
  • Map within the child page

On the Map, I have a property called "Hike". On the TabbedPage I set the DataContext to an object of type Hike.

Question: What binding statements do I use (in C#, not XAML) in order to bind the Map.Hike property to the datacontext of the containing TabbedPage?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>