Avi
Avi

Reputation: 16176

WPF Nested User Controls and MVVM (esp. Caliburn.Micro

I’m taking a lot of worry selecting an MVVM framework to convert to. One of the major considerations is support for User Controls and nested user controls as my main page today has a user control that contains nested user controls.

The author of Catel highlights lack of support for nested user contorls as a major disadvantage of other platforms (inc. Caliburn.Micro)

So my question is: Doesn't Caliburn.Micro support nested user controls?

Upvotes: 0

Views: 2664

Answers (1)

devdigital
devdigital

Reputation: 34349

Caliburn.Micro doesn't place any restrictions on the types of mechanisms you use for developing your user interface. It isn't a requirement to use Caliburn.Micro's conventions, you can still be explicit with your bindings when required.

If you are using user controls to reuse user interface code during view composition, then Caliburn.Micro provides an alternative technique for this too, using view model properties and ContentControls.

See here for an example.

Upvotes: 1

Related Questions