chaosifier / TabView

TabView control for Xamarin.Forms.
MIT License
124 stars 32 forks source link

It's not possible to change tab header text dynamically #35

Closed Sztub closed 4 years ago

Sztub commented 4 years ago

Replication steps:

  1. Changing tab header text in code. TabView.ItemSource[2].HeaderText = "New Text that will be splited into multiple lines";
  2. Switch between tabs. 3.App is crashing

What i've also noticed, is that you cannot set binding into tab header text, when using prism.

chaosifier commented 4 years ago

With new TemplatedItemSource and ItemTemplate bindable properties, you could achieve what you're trying to do. Please look at the sample project for reference.