title: Adding widgets(Visual Components) dynamically to WPF applications
body: <p>What would be the best way to add widgets dynamically in WPF application. Let's say that I defined a contract to be used by any visual components that want to add themselves to my application using MEF. Now at start up my program will load the plug-ins and add the widgets that it finds in some directory say (..\VisualExtensions). How can I do that with WPF and XAML since it uses declarative style and how can I also control the order by which the components appear.</p>