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.
是否可以将图像放入 WinRT 中的控件中,然后让用户放大和缩小等?
是的!
最简单的方法是将其放在滚动查看器中。你可以放大和缩小任何你喜欢的方式!
<ScrollViewer MaxZoomFactor="3" MinZoomFactor="0.5" ZoomMode="Enabled"> <Image Source="/Assets/logo.png" Width="200" Height="200"/> </ScrollViewer>