简体   繁体   中英

Switch focus to a different tab in a pivot control in c#

Is it possible to switch focus between tabs with code in a Pivot control in ac# uwp app? I tried using Pivot.SelectedIndex = 1; but that does not do the trick. Is it not possible or am I just doing it wrong?

我本打算将其发布为评论,但是我没有足够的声誉来这样做,所以您对此表示歉意,我知道您可能不想这样做,但是如果您希望自己进行控制,以使他们不会这样做,像工具栏一样具有背景,即使它确实具有背景,您也可以更改背景颜色,希望这会有所帮助。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM