Use a view metadata class which should contain type property use this metadata object as payload in event aggregator raise an event from module and subscribe it in your desired module and use type property in payload and resolve your view from container.
On 22 Oct 2013, at 13:21, Adi Peer <[email protected]> wrote: > Hi guys, > > I am using the castle windsor for my WPF application. > > I have a main window in the main project with the castle assemblies. > I perform the registration of another project assembly (Named Map) which > holds a User Control. (NOTE: registration is done by folder path and no > reference was added) > I would like to display this user control in the main window using the xaml. > > Can this be done ? > > > When I used a reference to this project I did it by adding the following line > for the namespace reference: > > xmlns:mapControl="clr-namespace:Map;assembly=Map" > > And then simply this line for displaying it: > > <mapControl:MapView x:Name="mapControl" /> > > > ** However I do not understand how to do it now when there is no reference to > the assembly... ? > > > Thanks > > Adi > -- > You received this message because you are subscribed to the Google Groups > "Castle Project Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/castle-project-users. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/castle-project-users. For more options, visit https://groups.google.com/groups/opt_out.
