Hi, I'm trying to make a TabControl to contain "new tab button".
You guys might know what I want to.
Actually, there 'was' a simple solution:
1. Edit TabControl's template.
2. Modify inside of ScrollView "ScrollViewerElement" like:
It worked with Q3 2010 version of RatTabControl.
But same code doesn't work with Q1 2011 version.
The issue what I'm facing at, is the button( in the StackPanel inside the ScrollViewer) doesn't raise Click event at all.
It's strange because the button still interact with MouseEnter and MouseLeft events so I can see the VisualTransition between the MouseOver State and the Normal State.
It seems that the RadDockPanel(or something other) hooks any MouseLeftButtonDown and Handle it.
Could you make sure why this happens?
Here's a test project:
http://cid-60778ca3c47c21fe.office.live.com/self.aspx/Public/AddNewTabTest.zip
Oh, and I saw another solution which controls Items and ItemsSource of TabControl so that I can make sure the TabControl always contains the 'new tab button TAB'.
It's possible, but I think it's too messy and it could be a cause of side-effect.
Regards,
Gongdo