Skip to main content
Home Forums General Silverlight Getting Started Effects within Style resources?
2 replies. Latest Post by shamrat231 on May 31, 2009.
(0)
Grofit
Member
229 points
310 Posts
05-29-2009 7:05 PM |
Hey,
Im just wondering if it is possible to put effects in with your style tags. In this scenario im wanting to have a shadow around some text, but just wanted 1 style to apply...
codeblock
Contributor
4060 points
716 Posts
05-30-2009 5:45 PM |
yes you can:
<Style ....> <Setter Property="Effect"> <Setter.Value> <DropShadowEffect .... /> </Setter.Value> </Setter></Style>
The .... has to be changed with the usual attributes in the elements.
HTH
shamrat231
4677 points
595 Posts
05-31-2009 12:20 AM |
Well, yes you can create your own style with shadow around text using blend.
Have a look
http://team.interknowlogy.com/blogs/bradcunningham/archive/2008/12/04/think-outside-the-textbox.aspx
Sharker Khaleed Mahmud (MCP,MCTS,MCPD[web])Software Developer
This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.