A common question around technologies like WPF is;
“Who’s using this?”
and I picked up a really slick brochure the other day with some great references around customers using WPF across lots of different kinds of applications and so I thought I’d share here – bear in mind that this is just a handful of selected applications and ( as you might expect ) there’s a lot more WPF applications out there than we might be able to fit into a brochure 🙂
I snipped out all the images and dropped them into a DeepZoom project. The latest Deep Zoom Composer has a new SlideShow feature which makes this pretty easy to do so I just used that and then applied a slight hack to what was emitted from the tool to produce the player below for free;
<c:EventTrigger EventName="InitComplete" Source="AdViewer"> <c:Assign Value="SlideShow_Main" Target="AdViewer" Property="CurrentSlideshow" /> </c:EventTrigger>
and I wondered if I could hook my own little piece of activity onto the end of that InitComplete event and, after a little poking around in the object model, I worked it out to use this little piece of XML to set the initial slide when the player loads and added a second EventTrigger to try and make that happen;
<c:EventTrigger EventName="InitComplete" Source="AdViewer"> <c:Assign Value="1.png" Target="AdImage" Property="CurrentItem" /> </c:EventTrigger>
where 1.png is my first slide ( the front cover of the book ).