If you want to apply the drop shadow effect to your UI Element: Create a System.Windows.Media.Effects.DropShadowBitmapEffect element, and assign it to the BitmapEffect property of the element you want to have a shadow. Use the Color property of the DropShadowBitmapEffect element to define the color of the shadow and the ShadowDepth property to define the size of the shadow on the target element.
<Ellipse Height="150" Width="150" Stroke="Black" StrokeThickness="1"> <Ellipse.BitmapEffect> <DropShadowBitmapEffect Color="Black" Direction="-50" ShadowDepth="40" Softness=".7" /> </Ellipse.BitmapEffect> <Ellipse.Fill> <ImageBrush ImageSource="bithday5.bmp" /> </Ellipse.Fill> </Ellipse></Window>
Drop Shadow Effect in WPF
CheckBoxList in WPF