ComponentOne Studio for Silverlight is a full suite of 50+ industrial strength Silverlight 4 controls. Generate the rich, interactive applications your users demand: access a full featured rich textbox, a powerhouse grid, interactive maps, and so much more. Style in Blend or set a few properties in Visual Studio with ClearStyle technology; no designer needed for sleek RIA development. And eliminate the learning curve when working with ComponentOne WPF controls; the controls share the same XAML.

Studio for Silverlight supports the Microsoft Silverlight Analytics Framework (MSAF). ComponentOne Silverlight 4 controls have exposed event handlers to work with the Silverlight Analytics Framework EventTrigger and TrackAction objects. Using these event handlers, users of ComponentOne Silverlight controls can pass additional, useful information to the analytics providers for the events they wish to track, such as the C1DataGrid’s SelectionChanged event. No changes in code or markup are required for existing ComponentOne controls when adding Analytics support to Silverlight applications.

For example, here is the code you need to use MSAF with the C1DataGrid control:

<UserControl x:Class="Analytics.MainPage"
    d:DesignHeight="300" d:DesignWidth="400">
    <Grid x:Name="LayoutRoot" Background="White">     
            <sa:ConsoleAnalytics />
        <c1dg:C1DataGrid Margin="10" x:Name="dataGrid">
                <i:EventTrigger EventName="SelectionChanged">
                    <sa:TrackAction />

Note: You must also add a project reference to the ComponentOne Analytics assembly which corresponds to the control(s) you’re using. For example, if using C1DataGrid you would also add a reference to C1.Silverlight.DataGrid.Analytics.

About ComponentOne
ComponentOne is a privately held company headquartered in Pittsburgh, PA, with offices throughout the world. As a leading component vendor in the Microsoft VSIP program, ComponentOne has been providing the widest range of Visual Studio components, IDE platform development tools, and applications for 22+ years. ComponentOne product lines encompass custom WinForms, ASP.NET, WPF, Silverlight, Mobile, and COM components, documentation tools, and Web Parts for Microsoft Office SharePoint Server and Windows SharePoint Services. ComponentOne Doc-To-Help has long been a recognized application product for technical communicators, policy writers, and other content creators who write and develop Help systems.

Last edited May 26, 2010 at 6:38 PM by leannel, version 26


No comments yet.