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

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -