I need to set the background of my System.Windows.Controls.Viewbox
, but the property is missing.
How can I fix this problem?
Put your viewbox inside a control that supports the background property:
<Border Background="Red">
<ViewBox />
</Border>
Put it in a Border
and set its Background
.
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