wpf - TabItem style based on ViewModel type -


i able achieve binding of tabitems collection of viewmodels , use datatemplates style contents of each type. cannot find way styling tabitem (header etc.) based on selected viewmodel.

edit: may ask why want have different styles tabitems, well, 1 of reasons instance have 1 tabitem open should not have close button.


Comments

Popular posts from this blog

angularjs - Redirect to a new template in angular js -

Oracle SQL. How to select specific IDs where value of columns specify criteria? -

Desktop Launcher for Python Script Starts Program in Wrong Path (Linux) -