Skip to main content
Home Forums Silverlight Design Designing with Silverlight Automatic reflection?
2 replies. Latest Post by fullsailrick on March 24, 2009.
(0)
Greg.Net
Member
34 points
47 Posts
03-24-2009 3:44 PM |
I see many blog posts on creating a reflection visual effect and that's great but what I really want is a refection visual effect that can be applied to any control, and the refection is done automatically, with maybe some adjustable parameters.
Has anyone implemented something like this? If not, I don't know where I would begin as I'm very new to silverlight. What type of element would I need to create in order to have something that could be applied automatically?
fullsail...
Contributor
3699 points
829 Posts
03-24-2009 4:24 PM |
Hi! The easiest way to do that (this is off the top of my head) would be to have a bunch of controls in a container --- like a some kind of Panel --- and then you would go through each object, and apply the desired effects. You could make your own Control, a Panel-like thing that has dependency properties that adjust the reflection effect properties. I'm 95% sure those types of things have already been written. I would do a search for "silverlight fish-eye menu" and see what comes up (in google). P.S. "Automatic reflection" sounds like it could be the title of Bjork's next album.
03-24-2009 4:26 PM |
Or, if this is Silverlight 3 we're talking about, you could use HLSL to do that.