I have been integrating image resources to my WPF assemblies for quite a time, but I never really found a really pretty way of binding them in my MVVM applications.
So I was wondering if some you, stackoverflow users, could share their own practice when it comes to assembly ressources:
- How do you reference them in C#/VB and XAML?
- When exposing them from code, what type do you expose? (BitmapImage, Uri, string, ...)
- Do you prefer referencing them from the view or binding them through view-model?
- Do you use a specific assembly to store them? How do you organize them?
Thanks for your help ;-)