水平和垂直滚动条不可见! [英] Horizontal and vertical scroll bar is not visible!
本文介绍了水平和垂直滚动条不可见!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
滚动条对于下面的XAML代码不可见.对XAML出什么问题有帮助吗?
Scroll bars are not visible for the below XAML code. Any help on what is wrong with XAML?
推荐答案
我可以毫无问题地看到滚动条. 由于您没有为窗口显示完整的XAML,因此ScrollViewer的子级可能是问题所在. 也没有将HorizontalScrollBarVisibility设置为Auto 如果将窗口缩小,则不会显示.
I can see the scrollbars with no problem. Since you don't show the full XAML for the window it may be possible that whatever the ScrollViewer is a child of is the problem. Also you don't have the HorizontalScrollBarVisibility set the Auto so if you make the window smaller it does not show.
这篇关于水平和垂直滚动条不可见!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文