I'm surprised I can't find this through googling, but I have a Viewbox in a WPF window and I'd like to add a UserControl to it through code. The viewbox is empty, it's simply there to have a "wait spinner" pop up during certain events (I got tired of looking at it on the design view and would just like to stick it in there via code).
I expected there to be something like Viewbox.Content, but no such luck
ViewBox.Child = new BlahMaster2000();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With