Silverlight Color Selector Control
This free Silverlight Color Selector Control is easy to implement on your Silverlight driven website and is also customizable to provide a visual feel suitable for any site design.
To use the Color Selector control you will need to add a reference to Liquid.dll in your project.
How to Use the Color Selector Control
To use the Color Selector on your Silverlight page:
<UserControl x:Class="ColorSelector.Page"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:liquid="clr-namespace:Liquid;assembly=Liquid"
Width="400" Height="300">
<Grid x:Name="LayoutRoot" Background="White">
<liquid:ColorSelector x:Name="selectColor" SelectionChanged="selectColor_SelectionChanged" />
</Grid>
</UserControl>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Liquid;
namespace ColorSelector
{
public partial class Page : UserControl
{
public Page()
{
InitializeComponent();
}
private void selectColor_SelectionChanged(object sender, EventArgs e)
{
LayoutRoot.Background = new SolidColorBrush(selectColor.Selected);
}
}
}
In this example we create a single Color Selector named selectColor, with this created we attach an event handler to the SelectionChanged event, this is handled in the C# below.
In the above C# we set the background color when the SelectionChanged event of the Color Selector occurs.
Example Silverlight Color Selector Control:

Latest Forum Posts
Here are latest posts from around the forums, if you have a question about any of the Liquid controls you can get your answers in the Forum.