7
我想在網格的各個邊上設置陰影效果。如何在Silverlight中設置網格陰影?
我正在使用DropShadowEffect控制屬性設置陰影。
我發現的是方向屬性設置控制陰影。
<Grid x:Name="LayoutRoot" Background="#F4F2F1" Width="300" Height="300">
<Grid.Effect>
<DropShadowEffect BlurRadius="300"
Color="#877b77"
Opacity="100"
ShadowDepth="10"
Direction="0" />
</Grid.Effect>
</Grid>
輸出我是
如下
我想陰影處出現在網格的各方面內容。
I used this link to set direction property but its not giving me what i desire
如何設置陰影到所有的方向嗎?