Welcome to Comunidade Bloggers |create|it| Sign in | Join | Help

António Vargas


.Net
SharePoint
Silverlight
Expression Blend 3: How to set a shadow effect on some control

I’m training to use Expression Blend because i’m not a designer guy but i need to have some base knowledge about the control’s design that i developed.

The first restriction that i found is how can i set a shadow effect on some control? I' know it that i can do that, so I searched a little bit and i found a Gavin Wignall’s post which explains very well all the steps to set a shadow effect.

I think that are important to known the following configuration details that i found in the Gavin Wignall’s blog:

  • BlurRadius - How blurred the shadow is.
  • Color – Shadow color.
  • Direction - The angle of the light source creating the Shadow Effect.
  • Opacity - The strength of the shadow in terms of darkness.
  • ShadowDepth - How far away from your object the Shadow will appear.

To add a shadow effect on control, you need to go to Effect configuration on Appearance configuration area and then click New. After that, you need to select DropShadowEffect into System.Windows.Media.Effects namespace.

I will continue to learn more about Expresion Blend, and if i find some interesting tips or tricks, i ensure that i will post.

Posted: Thursday, November 12, 2009 11:46 AM by antoniovargas

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required) 

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS