Designer中的WPF功能区选项卡视图
我正在使用"Microsoft Ribbon for WPF"并创建多个RibbonTab.我无法找出一种方法来查看/集中设计器中的不同选项卡,并且默认情况下会显示主页"选项卡.要查看我对除主页"选项卡以外的选项卡所做的设计/xaml更改,我必须每次都调试项目并单击选项卡,这不是很方便.或者,我也可以退出要忽略的选项卡xaml.外面有人解决吗?
I'm using "Microsoft Ribbon for WPF" and creating multiple RibbonTab. I cannot figure out a way to view/focus different tabs in the designer and it by default show the "Home" tab. To see design/xaml changes I made to tabs other than the "Home" tab, I have to debug the project every time and click through the tabs, which is not very convenient. Or I can command out the tab xaml I want to to ignore. Anyone body out there has a solution?
您还可以使用功能区上的SelectedIndex属性来设置哪个选项卡是当前选定的选项卡(0是第一个选项卡,1是第二个选项卡,依此类推. )
You can also use the SelectedIndex property on the Ribbon to set which tab is the currently selected tab (0 being the first tab, 1 being the second, etc.)
<ribbon:Ribbon SelectedIndex="0" />