You can use Conductor<T>.Collection.AllActive
for this purpose.
See Screens, Conductors and Composition for details.
سؤال
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.