如图,我想实现如下效果:
半透明按键显示在视频之上。
于是我这样写:
<Grid>
<Image x:Name="DownCamRealPlayWnd" Grid.Column="0" Grid.Row="0" Margin="4,6,6,8"/>
<Image x:Name="imgDownCamCapImage" Source="/Capture10.png" Margin="13,183,436,77" />
<Button Focusable="False" x:Name="buttonDownCamCap" Style="{StaticResource TransparentButtonStyle1}" Foreground="White" FontSize="13.333" FontFamily="Arial" HorizontalAlignment="Right" Width="40" VerticalAlignment="Top" Height="40" Margin="0,193,449,0" RenderTransformOrigin="-1.9,0.4" />
</Grid>
其中小相机是半透明的,按键全透明的,这么做出来,按钮和小摄像头图片呗覆盖了,如下图
我该怎么改正!才能看到他们不被覆盖,谢谢!