Different views / data template based on member variable

后端 未结 2 1632
轻奢々
轻奢々 2020-11-30 03:44

I have a view model called

 ViewModelClass 

which contains a boolean.

I have another view model which contains

Observab         


        
2条回答
  •  自闭症患者
    2020-11-30 03:57

    if you want to switch your itemscontrol item view in case of the ViewModelClass boolean, then you can simply use a datatrigger style in your ProjectInfoView usercontrol.

提交回复
热议问题