Silverlight Samples Updated to Beta 2

I have updated a few of my Silverlight demo applications to work with the Beta 2 release of Silverlight.  The update was fairly painless, but then again, these are really simple applications :) 

Color Picker Control (Source Code)
Simple Color Picker control built with Silverlight.  Useful in applications that require advanced color selection options.

image

Silverlight Binary Clock (Source Code)
Just a simple Binary Clock with a live reflection.  Since we don't have a visual brush in Silverlight, I had to instantiate 2 clocks and apply a gradient opacity mask to the bottom clock to simulate the reflection effect.

binary_clock

Disco Dance Floor (Source Code)
This application is pointless, but it does demonstrate smooth animation in Silverlight under stressful conditions.

disco


Feedback

# re: Silverlight Samples Updated to Beta 2

Gravatar Great color picker control! I'm using it in an app. Of course, i want to be able to pass in a color based on the hex value and have it show the color correctly in the control. How would I do that?

Thanks!

6/23/2008 6:44 PM | snelldl

# re: Silverlight Samples Updated to Beta 2

Gravatar Currently the control does not support that feature, but I will update the control soon to allow for this. Thanks for the suggestion! 6/28/2008 8:31 PM | Page Brooks

# re: Silverlight Samples Updated to Beta 2

Gravatar Hi, your color picker is realy cool. I am new to Silverlight and I'm enjoying learning how to create apps. I have so far created a basic app which allows a user to select a sahpe from a sidebar (rectangle, ellipse, line, etc.) and I want to be able to allow them to select a color and then apply that color to the fill or stroke depending on which button they click (ie the fill button or the stroke button) after selecting their chosen color.
How would I integrate your color picker application into my silverlight application? 7/18/2008 10:16 AM | VJ

# re: Silverlight Samples Updated to Beta 2

Gravatar I've managed to bring the color picker into my application, it's awesome, thank you. I'm going to try and figure out how to use the selected color to fill my active shape now. You can ignore my last message. 7/18/2008 1:16 PM | VJ

# re: Silverlight Samples Updated to Beta 2

Gravatar Further to my previous messages I have been trying to apply the selected color to my shapes with little success which is more to do with my limited programming skills than anything else. I have created my shapes using user controls and wondered if there is an easy way to apply a fill in code behind using the selected color from the color picker. 7/21/2008 9:53 AM | VJ

Comments have been closed on this topic.