Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Sztub opened this issue Dec 19, 2019 · 1 comment
Closed

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

Sztub opened this issue Dec 19, 2019 · 1 comment

Comments

@Sztub
Copy link

Sztub commented Dec 19, 2019

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants