Silverlight TabItem template not working correctly

Posted by Savvas Sopiadis on Stack Overflow See other posts from Stack Overflow or by Savvas Sopiadis
Published on 2010-04-20T10:21:25Z Indexed on 2010/04/21 5:43 UTC
Read the original article Hit count: 526

Hello everybody!

In a SL4 application i need to restyle my TabItems (actually add a button in the header).

So i took the TabItem's control template from here and added the functionality i wanted.

This seems to work fine, (i could dynamically add tabitems) with one exception: i think this posted control template is behaving somehow "arbitrary": every time the mouse hoovers over a non selected TabItem header, this gets selected WHITHOUT clicking!! (afaik this is not the default behavior: the user user has to click a header to make this tabitem the selected one).

I tried to find why it is behaving like this, with no luck! Is there someone who can enlighten my darkness???

Thanks in advance!

© Stack Overflow or respective owner

Related posts about silverlight-4.0

Related posts about tabitem