silverlight – clipping regions – Education Career Blog

I have a grid, with a stackpanel on the top.
I have built a mouse over animation that makes images on the stack panel bigger on the mouse over.

How do I take away the clipping region(s) so that the images can grow outside of the stackpanel and cover what is under them?

<Grid x:Name="LayoutRoot">
        <RowDefinition Height="30"/>
        <RowDefinition Height="*"/>
        <ColumnDefinition Width="100" x:Name="pagesColumn"/>
        <ColumnDefinition Width="*" />
    <StackPanel Width="Auto" Grid.ColumnSpan="2" Grid.Row="0" VerticalAlignment="Top" Height="30" Background="Red" >


Have you tried using a RenderTransform ?

I have used this once in order to implement a zooming feature; and the zoomed control was growing outside of its parent (i.e. not clipped).

Leave a Comment