I have to implement a design for a TabControl
.
This design uses a DropShadowEffect
surrounding the border of the content part of that control. This shadow should overlap those elements of the TabControl that are not selected, but it should not overlap the selected item.
My first approach was to define the zIndex for the not-selected items = 1, the content container = 2 and the selected item = 3. But unfortunately this didn't work out, since the content and the tab-items are not in the same panel.
Any ideas how I can achieve the desired target?
WPF Inspector Visual Tree Screenshot:
I need some of those TabItems below the content and one above..