How do I enable an element to paint outside its container?
问题 I'm trying to get elements to render outside the bounds of their parent panel, in this case I'm using a stack panel. <StackPanel ClipToBounds="False" Width="200" Orientation="Horizontal" Height="50" Background="{DynamicResource TierBackground}"> <Rectangle ClipToBounds="False" VerticalAlignment="Bottom" Width="25" Height="75" Fill="#FF4D6072" /> </StackPanel> Setting ClipToBounds doesn't seem to do anything, I first tried it on the Rectangle and then on the parent Panel though neither seemed