Pregunta

I need to set the background of my System.Windows.Controls.Viewbox, but the property is missing.

How can I fix this problem?

¿Fue útil?

Solución

Put your viewbox inside a control that supports the background property:

<Border Background="Red">
   <ViewBox />
</Border>

Otros consejos

Put it in a Border and set its Background.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top