谁能指导我如何在 Windows 通用应用程序中为网格添加阴影效果? [英] Can anyone guide how can I add shadow effect to Grid in windows universal app?
本文介绍了谁能指导我如何在 Windows 通用应用程序中为网格添加阴影效果?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在 windows 通用应用程序中为网格添加阴影效果,如下图
推荐答案
这可能会有所帮助
<Grid >
<Rectangle Width="230" Height="225" Margin="1,1,0,0" Stroke="#99000000" StrokeThickness="1" HorizontalAlignment="Left" VerticalAlignment="Top" />
<Rectangle Width="230" Height="225" Margin="2,2,0,0" Stroke="#4C000000" StrokeThickness="1" HorizontalAlignment="Left" VerticalAlignment="Top" />
<Rectangle Width="230" Height="225" Margin="3,3,0,0" Stroke="#19000000" StrokeThickness="1" HorizontalAlignment="Left" VerticalAlignment="Top" />
</Grid>
这篇关于谁能指导我如何在 Windows 通用应用程序中为网格添加阴影效果?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文