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.
我在选项卡项中添加了滚动条,但未启用滚动条....我不知道我做错了什么...有人可以指出我正确的方向吗?CanContentScroll 设置为 true....
没有代码来查看您正在尝试的内容,很难知道您哪里出错了......但是,应该看起来像:
<ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" > <!-- content here --> </ScrollViewer>
如果内容增加超出滚动查看器所在控件的大小,则滚动条应自动可见。