简体   繁体   中英

Caliburn.micro with multiple ViewModels

I am building an app that can host multiple widgets. The user will be able to add and remove widgets whenever he chooses. How do I compose this in Caliburn.micro since I don't know the number of widgets before hand?

All widgets will be active at the same time.

Any ideas where I should begin with this? I've done several Caliburn.micro apps but none using any form of composition before.

You can use Conductor<T>.Collection.AllActive for this purpose.

See Screens, Conductors and Composition for details.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM