Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要设置我的背景System.Windows.Controls.Viewbox,但缺少该属性。
System.Windows.Controls.Viewbox
我该如何解决这个问题?
将您的视图框放在支持背景属性的控件中:
<Border Background="Red"> <ViewBox /> </Border>
将其放入 aBorder并设置其Background.
Border
Background