Skip to content

Notifying of a property change when the binding is not direct #16253

Answered by stevemonaco
DarioLoll asked this question in Q&A

You must be logged in to vote

Some advice:

  1. Presenters (ie. ContentPresenter) are only valid within ControlTemplates. Use ContentControl instead.
  2. Use a TabControl or TabStrip instead of hacking one up like this. You can remove the janky string indexes, too.
  3. Double check if you have multiple TabManagers. It's a common beginner mistake to create multiple VMs by accident and update an instance that isn't binded. You can do this by putting a breakpoint in the TagManager's ctor and check if you get multiple calls.

Replies: 1 comment 1 reply

You must be logged in to vote
1 reply
@DarioLoll

Answer selected by DarioLoll
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants