Creating an MVVM friendly dialog strategy

后端 未结 3 669
名媛妹妹
名媛妹妹 2020-11-28 06:32

I\'m trying to create a strategy for handling popup forms for use throughout any part of my application. My understanding so far is that I will need a single UserContr

3条回答
  •  暖寄归人
    2020-11-28 06:41

    From the perspective of a developer coming in to 'maintain' that generic code, it sounds like a pain. From what you've described, I would give the form and the dialog the same view model and create a specific XAML template for the dialog that you want to show.

提交回复
热议问题