views:

155

answers:

0

Hi Guys,

I'm looking for a way to control DropShadow (DS) effects on the TabControl and TabItems in Blend 3.

I want a DS effect on the selected TabItem and TabControl and then a different DS effect on the unselected TabItems.

There is an image here to show what I mean: http://www.funkadeelia.com/imageHosting/TabControl_example.jpg

Basically there is a DS with a depth of 5 on the selected TabItem & TabControl and a DS with a depth of 0 on the unselected TabItems.

The problem I'm having is controlling the DS effect between the selected TabItem & TabControl. Due to the layering of the items i'm having trouble hiding the DS effect at the bottom of the selected TabItem.

There is an image here to show what I mean: www.funkadeelia.com/imageHosting/TabControl_example2.jpg (Can only use 1 link as I'm a new user - sorry)

Does anyone have any ideas on how to get a smooth DS effect running around the selected TabItem & TabControl whilst having the unselected TabItems behind? I tried a clipping mask but didn't have much luck...

any help is very much appreciated,

Cheers,

Steve.