You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I’m not sure if it is the best place to ask but I need some help from Caliburn savvy people, so I hope you’ll be able to point me in the right direction :)
I have a WPF application using Caliburn Micro and I’m looking for what would be the best way to create some UserControl for external assemblies that do not have UserControl.
My application loads several external assemblies (that implement a certain interface). What’s not part of this interface are the settings within each assemblies (the properties and settings may be different).
So for each assembly, I would like to create a User Control, that enables the user to modify these settings.
However, I do not want to turn my external assemblies into WPF classes as I want them to be decoupled.
My main application has no reference to the external assemblies nor the future User Controls, and all of them are injected using a dependency injection (Castle Windsor)
My issue is that I cannot quite find the best way to create some type of User Control for a class library .
I looked into the Custom Control Library, User Control Library and WPF Class Library but I’m not sure to understand the best way to implement them while staying within the realm of Caliburn Micro
I cannot quite envision how to implement a View/ViewModel that is linked to my external assembly. Would my external assembly be the ViewModel an I would need to create a view (User Control Library ? )
I created an example project if it can help. I'm not very satisfied with my current implementation though
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I’m not sure if it is the best place to ask but I need some help from Caliburn savvy people, so I hope you’ll be able to point me in the right direction :)
I have a WPF application using Caliburn Micro and I’m looking for what would be the best way to create some UserControl for external assemblies that do not have UserControl.
My application loads several external assemblies (that implement a certain interface). What’s not part of this interface are the settings within each assemblies (the properties and settings may be different).
So for each assembly, I would like to create a User Control, that enables the user to modify these settings.
However, I do not want to turn my external assemblies into WPF classes as I want them to be decoupled.
My main application has no reference to the external assemblies nor the future User Controls, and all of them are injected using a dependency injection (Castle Windsor)
My issue is that I cannot quite find the best way to create some type of User Control for a class library .
I looked into the Custom Control Library, User Control Library and WPF Class Library but I’m not sure to understand the best way to implement them while staying within the realm of Caliburn Micro
I cannot quite envision how to implement a View/ViewModel that is linked to my external assembly. Would my external assembly be the ViewModel an I would need to create a view (User Control Library ? )
I created an example project if it can help. I'm not very satisfied with my current implementation though
Thank you for your help
Beta Was this translation helpful? Give feedback.
All reactions