Photoscroll -- the worst named WPF demo application with source code!
With the exception of this project being called, WindowsApplication72, I'll admit that this is one of the poorest named projects I've distributed. I could have changed the name, but since it's really more of a demo right now than any truly useful functionality, I decided to not bother.
The intention of Photoscroll is to demonstrate a number of useful features in WPF -- and to show off some of the simple things that can be done with WPF that you may not have ever thought of including in an application if you weren't using WPF.
The application code written in C# is available for download below. You might be curious what the application looks like:
Cool animations when images are loading -- no 'jerky' or hanging user interface as the images load.
Tooltips on steroids -- with a Vista like glass effect (that works on XP).
Intermediate images shown while the full size image is loaded...
It uses the WIC BitmapMetadata (Windows Imaging Component) classes to extract available meta data from photos (and show it in a geeky, here's all the raw info available way):
If you have any questions about the code, feel free to send me an e-mail (coder@ this website).
Download (C#/.NET 3.0 required)
Due to the large size of the final EXE (as it contains quite a few graphics), you'll need to build the project to run it as I've excluded it from the download.
I'll be posting some details about the code very soon.
Here are some of the .NET 3.0 classes/properties that the sample code uses:
- BitmapMetadata (ContainsQuery and GetQuery)
- Table (and binding to a FlowDocument)
- BitmapDecoders and BitmapFrame
- Trigger EnterAction ExitAction
- Drag and Drop DataFormats.FileDrop
- VisualBrush Visual
Although I've put a copyright notice and warning on much of the code, all that I really want is a thank-you e-mail/post and a link to my website if you use the code. :)