Nothing but .net

Sapphire controls Alpha

After the first real controlset for Silverlight, Sapphire by ComponentOne, was released earlier today, I started by reading the quickstart guide (one has to start somewhere, isn't it).

I created a first demo application (actually, it was not even a demo application for that matter), using the following code, after adding a reference to the C1.Silverlight.dll.

<Canvas x:Name="parentCanvas"

xmlns="http://schemas.microsoft.com/client/2007"

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

Loaded="Page_Loaded"

x:Class="SilverlightProject1.Page;assembly=ClientBin/SilverlightProject1.dll"

xmlns:c1="clr-namespace:C1.Silverlight;assembly=ClientBin/C1.Silverlight.dll"

Width="640"

Height="480"

Background="Gray"

>

<
c1:MonthCalendar></c1:MonthCalendar>

</Canvas>

I added the MonthCalendar control, so I was hoping to see at least something. Too bad, I only got an empty screen :(. My first thought was that it was my Silverlight version, it might not have been the latest version. However, after forcing an update of Silverlight 1.1, I still didn't see anything.

After some poking around, I figured out what it was: the controls only work if your computer's locale is set to English-US (en-US). Very weird indeed.
Anyway, I got what I wanted before I went to bed, my first Silverlight application built with Component One's Sapphire!
Here's what it looked like (be amazed!!)



You can read more on the release on http://www.snowball.be/Silverlight+Sapphire+Controls+Renamed.aspx.


Posted on Thursday, 15 November 2007 01:34 by gill  |  Comments (0)
Filed under:  

Related posts