I have a Shape inside Canvas, like this:
This is what the ClipToBounds property was made for:
<Canvas Background="White" ClipToBounds="True"> <Rectangle Width="200" Height="200" Canvas.Left="103" Canvas.Top="186" Fill="Red" /> </Canvas>