BrandGhost
Sneak C# Dependencies Into XAML Using MarkupExtension in WPF!

Sneak C# Dependencies Into XAML Using MarkupExtension in WPF!

I'm always happy to hear about programming cheat codes. This one is specific to WPF -- but it touches on something that's always been a pain in the butt: Injecting services while still using XAML. In this video, I'll walk you through how you can leverage the MarkupExtension class. This will allow you to provide more context to the XAML processor to leverage dependencies.
An error has occurred. This application may no longer respond until reloaded. Reload