开发者

Creating a Hyperlink to a different TabItem in WPF

I have a WPF application with multiple TabItems within a TabControl. In one of the TabItems, I want to have a Hyperlink that when clicked, changes the view from the current TabItem, to one of the other TabItems.

I've looked into the NavigateURI property of Hyperlink but I haven't found a way to set that to be a separa开发者_如何学Pythonte tab in the same window. Any thoughts on how to do this?


Just make a button, style it like a hyperlink, and change the tab control tabindex on the click of the button.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜