Kelly
Kelly

Reputation: 7183

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.

Upvotes: 0

Views: 702

Answers (1)

tibel
tibel

Reputation: 367

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

See Screens, Conductors and Composition for details.

Upvotes: 1

Related Questions