Binding Header in TabItem to child property in the ViewModel
WPF
1
Posts
1
Posters
21
Views
1
Watching
-
I have a standard C#, WPF, and PRISM project, and I wanted to have one module per tab item. But I want to bind the header of a property in the ViewModel directly to the parent TabItem. I tried this (among other things such as Content.DataContext.Message etc.) :
I have a distinct feeling I have done this before, but I cannot figure it out at the moment, so any suggestions?