我有一个网格,顶部有一个堆栈面板。我已经建立了一个鼠标悬停动画,使堆栈面板上的图像在鼠标悬停时更大。
如何删除剪辑区域,以便图像可以在堆栈面板之外增长并覆盖它们下方的内容?
<Grid x:Name="LayoutRoot">
<Grid.RowDefinitions>
<RowDefinition Height="30"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="100" x:Name="pagesColumn"/>
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<StackPanel Width="Auto" Grid.ColumnSpan="2" Grid.Row="0" VerticalAlignment="Top" Height="30" Background="Red" >
</StackPanel>