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
Post a Comment