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.
我在 silverlight 3.0 的 xaml 页面中将画布宽度设置为 1500,高度设置为 1600。
当我运行测试页时,我看不到滚动条。所以我无法滚动查看其余元素。我还需要为网格设置滚动条。
如何启用滚动条?
请帮忙。
将您的组件添加为ScrollViewer.
ScrollViewer
我通过这段代码得到了一个滚动条:
ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto"