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.
是否可以在 ac# uwp 应用程序的 Pivot 控件中使用代码在选项卡之间切换焦点?我尝试使用Pivot.SelectedIndex = 1;,但这并不能解决问题。这是不可能的还是我做错了?
Pivot.SelectedIndex = 1;
我打算将此作为评论发布,但我没有足够的声誉来这样做,所以我向你道歉,我知道你可能不想这样做,但如果你愿意,你可以制作自己的控件,这样他们就不会这样做'没有像工具栏这样的背景,即使它有背景,您也可以更改背景颜色,希望这会有所帮助。