WynApse Home Page
Home    Blog    About    Contact       
Latest Article:


My Tags:
My Sponsors:







Lifetime Member:

Silverlight Examples & Samples



I had a need to save the Telerik PersistenceFramework data to the database rather than ISO. There's a few moving parts and not a lot of web-assistance. The code isn't difficult, just a tad difficult to find a good reference so I did my own.



Sterling object-oriented Isolated Storage database 1.0 is released and working great... read about my application and my work with Jeremy.



After reading Dave Relyea's Pixel-snapping article, I got to wondering about how my article from a year ago would fare in SL2. For a while I thought it had disappeared, but no... it's still around... read on!



Corrina Barber has put up some very nice controls skins for the basic Silverlight2 controls. While trying to get familiar with them I had difficulties and thought I'd share



This updated article shows the code now used on my site for injecting JavaScript and explains why the onLoad issues were appearing in general and how the problem is now gone!



A long weekend of coding culminated in the introduction of Microsoft ASP.NET Ajax into my site, followed by a Web Service interface. Those two items together provided me the way to hook up the one elusive piece I'd been missing from my Silverlight 1.0 applications, and that piece is DATA.



On September 15, 2007 I presented the application above during an introductory talk on Silverlight 1.0. I posted the code that evening on my blog, and that same zip file is available with the "Download" link just below.



During my gradient tutorials, I started to play around with picking a color from one gradient to set as an end color in another, but then had the idea for a Color Picker utility in Silverlight, read on to see what it looks like and read the code.



After making the major changes from Silverlight Beta 1 to RC 1, I found some problems on a couple pages that took some investigation, so thought I'd write them up.



Using the same Storyboard for multiple objects on a canvas is a great idea, as long as you can control the Storyboard.Target variable. There was some confusion on the Silverlight forums about this so I created a simple example showing how to resolve it.



Silverlight Beta 1 gave us the ability to set the ZIndex, but some investigation of how it actually works on a canvas is useful to get the result you might expect.



Taken from a running discussion on the MSDN Silverlight forum between Michael Schwarz, Luis Abreu, and me, I am posting this as more of a puzzle or cautionary note than a tutorial as such. Beware 1 pixel paths and lines!



Buttons... everybody uses them every day, but how many people actually study how they work? We get so used to 'pressing' inanimate places on our screens that we don't really pay attention to everything that is going on. Knowing what goes into fooling everyone into thinking they're "pressing" buttons will go a long way to giving your Silverlight the 'snap' it deserves.



Ever since I did the Reflection Builder application, I've wanted to spend at least a little time and come up with a way to do radio buttons with wingdings. I had played around at one point using the Path command to build a checkbox that I can change the color of the check with, but never did anything with it. Now is the time!



An explanation of clipping Silverlight animated objects, specifically animated rectangles such as slide-in menus.



My GlyphMap Utility grew out of control once I started it, and although it covered a lot of topics, it really didn't lend itself to any in-depth discussion of anything. This is the first discussion of any of the topics contained in that application. createFromXaml is used so much in the GlyphMap Utility that I decided I should cover it first.



After seeing the Vista Sidebar gadgets for counting down until MIX, I thought I could do one of those inSilverlight for the Sidebar of my sie, and it turned out to be very easy.



While I was working on the Glyph Explorer code, I kept thinking of the Windows tool, charmap, and how I could use it to display the character codes of any font. It struck me that it would be very cool to have a GlyphMap tool to display Indice values of fonts, particularly dings.



After trying to figure out the map between Fonts and Silverlight Glyphs I decided to use a slider to show me the characters.



Talking my way through some of the Reflection Builder code, this explains how to slide Silverlight objects around with the mouse.



I did a real test of my Reflection Builder and I used a video to reflect... how cool is that?



As an aid to figuring out transform variable settings, I built a ReflectionBuilder application in Silverlight for an INETA presentation.



After seeing Michael Schwarz Animate the Silverlight Gear Reflection, I wanted to Roll it across the page.



The number of fonts available in the Silverlight December 2007 CTP is actually more than I first expected.



A couple minor errors were found in the QuickStart that could cause some confusion.



This is the last of the pages built while working my way through the Silverlight QuickStart delivered with the December CTP and deals with controls.



Not sure why they used it, but the Silverlight QuickStart uses scRGB Format, and I had to search for what that is.



Basic Straight-Line Animation in Silverlight, left-right and top-bottom.



Basic Explanation of Silverlight animation from left and right at the same time.



To set the outer canvas transparent you need to do two things



I'm working through the examples in the Silverlight QuickStart and thought I'd share my results with three rudimentary pages.





Microsoft MVP

Member of WPF and Silverlight Insiders
Silverlight Control
Creative Commons License

Copyright © 2006-2014, WynApse