# Silverlight Surface

> Building Silverlight applications for Microsoft Surface. Multi-touch development and interactive table-top experiences.

*Published September 13, 2007* · Categories: net

Source: https://www.kimpel.com/2007/09/13/silverlight-surface/


It's been a while since I first heard about Microsoft® Silverlight™ (formerly known as Windows Presentation Foundation / Everywhere or rather WPF/E). I read a good amount of documentation, downloaded Beta and even Alpha versions and played around with it trying to understand the way it works. Then, one day I found an awesome [example showing pictures](https://blogs.msdn.com/delay/archive/2007/06/01/silverlight-surface-demonstration-silverlight-implementation-of-surface-s-photo-table-ui.aspx) in a way I haven't seen before in a web environment. That was it ... I had to include it on my website.

So, I started to download the sources and soon after that I discovered that it only 'works well' with pictures in landscape format. All others would show up, but stretched to the format specified. It took a good amount of time (especially getting into Microsoft® Expression Blend™) trying to change the layout so that you can use both formats on a single 'surface'. The way I solved it was to create two separate XAML files, one for each format. If you have any better idea, please let me know.

Check out the result [here](https://web.archive.org/web/20120512035728/https://www.kimpel.com/PhotosSurface.aspx)

![www.kimpel.com](https://byfiles.storage.live.com/y1pXxQQDgVbbl9OjAJ0upf5rj9x9goEQ-og3uSwL_rN1c8C9uq4N5J73aI5okGK8WsoUxKkvPkjn2Q)

(original URl <https://byfiles.storage.live.com/y1p13z8NYTvHKq4Vn5PZ6eBgkQMUaH4p6-R0II_qpnoPtcQN2Eriy2RiCtaGoAmuzBQTyIbc1wTbgc;cnsid=cns!CAA619CB4C4D1B6C!197>)

image not avail anymore (<https://byfiles.storage.live.com/y1p13z8NYTvHKq4Vn5PZ6eBgo7hzzQt7ClWAw_jZHFdFNKLfCN8P9FY5QatIVj1KaeLIsmUqa7vSLI>)

