I want to set the Shadow effect around all sides of the grid.
I am using the DropShadowEffect property of the control to set the shadow.
What I found is the Direction property.
<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 got
in the following way
I want the shadow to appear on all sides of the grid.
I used this link to define the direction property, but did not give me what I want
How to set the shadow in all directions?
pramod choudhari
source share