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

Updating a label on a TabPage

$
0
0

Hi,

I have a simple 3 tab app. Tabs 1 and 2 gather information with Tab 3 showing a date and time. When the app fires up, the date and time labels on Tab 3 are set to show the current Date and current Time.

After altering the information in tabs 1 and 2 and performing a calculation, the date and time on tab 3 should be updated with the result from the calculation. The problem is (and hence this posting) that the labels don't update.

I've tried binding to the Label.TextProperty and update via the Binding event, but nothing changes. It's almost seems to be that once a tab has been set up with anything static (such as a Label), it doesn't change.

How can I change the text on the 3rd tab from within the app?

PFJ


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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