views:

14

answers:

1

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 separate tab in the same window. Any thoughts on how to do this?

A: 

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

mdm20
I feel like this could work, but it sounds like a hack. Is this really the best method?
Matthew
WPF controls are designed to be restyled... I don't consider using a language feature as being a hack.
mdm20