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.
我正在使用 wpf Prism Controller 在 wpf 中将多个选项卡添加到我的视图中。但有时当我的视图很大时,我希望在我的标签项中有一个可以水平滚动的滚动查看器。我怎样才能实现这一点?
尝试将此添加到您的 xaml.xml 中。但请确保您的行定义设置为自动
<ScrollViewer HorizontalScrollBarVisibility="Auto"> <TabControl> </TabControl> </ScrollViewer>