I am trying to get zIndexing working on a custom UserControl but it clips the bottom of the control when it pops up inside a TabControl as shown here.
This is my XAML
<StackPanel Panel.ZIndex="1">
<TabControl Name="TabCtrlMain" Panel.ZIndex="2">
<TabItem Name="TabItmOrdrLst" Visibility="Collapsed" Panel.ZIndex="3" >
<StackPanel Panel.ZIndex="4">
<ri:OrderList x:Name="OrderList" Panel.ZIndex="5" />
<Rectangle Fill="Orange" Height="80" Width="300" />
</StackPanel>
</TabItem>
</TabControl>
<Rectangle Fill="Blue" Height="80" Width="300" />
</StackPanel>