C1 Labs

ComponentOne Studio® for Silverlight

New Release Supports Silverlight 2!

Studio for Silverlight is now available and ready for you to download. Developers and designers alike can create compelling Web-based solutions with our state-of-the-art Silverlight controls that include unparalleled features and benefits.

About ComponentOne Studio® for Silverlight

ComponentOne Studio® for Silverlight is the future of web development tools. It is one of the first component suites in the industry to leverage the full potential of the Microsoft Silverlight Platform. This studio complements the Designer and Developer workflow by supporting both XAML and C#. Our Silverlight components allow designers to create the ultimate User Experience and provide developers a familiar, full-featured set of properties and methods.

ComponentOne Studio for Silverlight is the most complete set of enterprise-quality components in the Silverlight market. It contains over 40 controls that enable you to create brilliant experiences for the Web (including Chart, DataGrid, TreeView, SplitContainerView, PasswordTextBox, ImageRotator, and much more).

Support & Feedback

To get support and provide feedback, please visit our Silverlight forums.

Get Started Developing in Silverlight

In order to use these controls, the following software is required:

For more information, including download links, please visit http://silverlight.net/GetStarted.

Migrating from Silverlight 1.x

When migrating existing projects (based on the previous Alpha build) to this new version, you will have to make a few changes. The main ones are listed below:

All ComponentOne Silverlight controls have been renamed to start with a “C1” prefix (“Button” is now “C1Button”, “StackPanel” is now “C1StackPanel”, etc). This was done to avoid name conflicts with the new Microsoft controls that were added to Silverlight 2.0).

// before 
Button _btnOK = new Button();
StackPanel _sp = new StackPanel();
// after 
C1Button _btnOK = new C1Button();
C1StackPanel _sp = new C1StackPanel();

The FocusManager class has been removed. Silverlight 2 has built-in focus management. Simply comment out or delete the FocusManager.Initialize() calls from your projects.

// before
FocusManager.Initialize(this);
// after 
//FocusManager.Initialize(this);

The HorizontalAlignment and VerticalAlignment properties have been replaced by HorizontalContentAlignment and VerticalContentAlignment. These properties are new members of the base Control class, and determine how content is aligned within the controls. They should not be confused with the new HorizontalAlignment and VerticalAlignment properties which determine how the controls should be aligned within their parent.

// before
_btnOK.HorizontalAlignment = Alignment.Near;
_btnOK.VerticalAlignment = Alignment.Near;
// after 
_btnOK.HorizontalContentAlignment = HorizontalAlignment.Left;
_btnOK.VerticalContentAlignment = VerticalAlignment.Top;

The C1.Silverlight.Thickness class has been removed. New applications should use the new System.Windows.Thickness class which provides the same semantics.

It is possible your existing applications wll require other modifications that are unrelated to the C1.Silverlight controls. For example, many static methods have been removed from the Rect and Point classes. Control dimensions are initialized as double.NAN (they used to be initialized to zero).

Studio for Silverlight Controls

Buttons

  • C1Button
  • C1RepeatButton
  • C1CheckButton
  • C1CheckBox
  • C1GroupButton
  • C1RadioButton

Containers

  • C1FlowPanel
  • C1StackPanel
  • C1DockPanel
  • C1HyperPanel
  • C1SplitContainer
  • C1ScrollViewer

Date/Time

  • C1DatePicker
  • C1MonthCalendar

Lists

  • C1ListBox
  • C1TreeView
  • C1Menu
  • C1Accordion

Sliders

  • C1Slider
  • C1RangeSlider
  • C1ProgressBar
  • C1ScrollBar

Text

  • C1Label
  • C1LinkLabel
  • C1TextBox
  • C1NumericTextBox
  • C1MaskedTextBox
  • C1ComboBox
  • C1PasswordBox

Miscellaneous

  • C1ControlBase
  • C1ColorPicker
  • C1RotatingCube
  • C1ImageRotator

Advanced

  • C1DataGrid
  • C1Chart