In Composite WPF (Prism), what is the difference between IRegion.Add and IRegionManager.RegisterViewWithRegion?

前端 未结 2 585
醉梦人生
醉梦人生 2021-02-07 13:07

In Composite WPF (Prism), when adding modules to the IRegionManger collection, what is the difference between using IRegion.Add and IRegionManager.RegisterViewWithRegion?

<
2条回答
  •  太阳男子
    2021-02-07 13:22

    RegisterViewWithRegion raises the OnContentRegistered event, but of course that could not be the case depending on your DI

提交回复
热议问题