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

Get bindable property value

$
0
0

I am experimenting with a TabbedPage which itemsource is an array of a class with a string called name and a getter/setter called Name.

The content page I display using the itemTemplate is a stack layout page.

In the stack layout page I bind the Name property like this

this.SetBinding(ContentPage.TitleProperty, "Name");

in order for the tabs to get their names.

My question is how to get this tab name in order to know in what tab I am navigating currently.


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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