tags:

views:

823

answers:

3

I'm a XAML/WPF newbie, and I thought I'd write an alarm clock application to get into it. I want to get past the basic textboxes, dropdowns etc, which are fairly simple once you get the hang of the layout model, but I'd like to get into the graphics side of things.

I'd like to display alarm clock digits on a black backdrop, but importantly the alarm clock numbers to have that reflection effect like they're stood up on a piece of glass (like how Apple marketing often is implemented).

How do I get started with this? I'm looking at Charles Petzold's stuff for inspiration but struggling a little.

+2  A: 

Actually I think that this might be easily adapted enough from an image to text:

http://www.codeproject.com/KB/WPF/WPFImageEffects.aspx

Neil Barnwell
+2  A: 

Take a look at the XAML Reflections sample on the WindowsClient.net.

If you need more samples, the WindowsClient site also has a Control Gallery with list of useful snippets, tool sna dsytle and there's also the full list of WPF Samples you can download and study.

Franci Penov
+1  A: 

I posted a reflection control on my blog at http://www.nbdtech.com/blog/archive/2007/11/21/WPF-Reflection-Control.aspx

Nir