← Back to all blogs

Posts in 'silverlight'

How To: Host Silverlight Listbox Control in Spread Cell

Spread for Silverlight does not have inbuilt feature to set the cell type for cells like its other versions (Asp.net and Windows Forms).  But you can still put a Silverlight control in a cell using the CustomDrawingObject Class.

Language and CurrentCulture in Silverlight and WPF

In WinForms and ASP.NET, numbers and dates are formatted and parsed using the current thread's CultureInfo.CurrentCulture property. This is the value that users may change using the control panel.

Spread for WPF-Silverlight 1.0.5.0 Released!

I am happy to announce the release of Spread for WPF-Silverlight 1.0.5.0!

Mail Merge with C1Report in Silverlight

Mail Merge is a useful feature and it helps generating multiple documents from a single template.

Scrollable Legend in C1Chart

Chart control is popularly used in various domains to analyze data. They are often used to ease understanding of large quantities of data and the relationships between parts of the data.

Design Tips for Creating Modern Style Charts in XAML

Designing a chart for a Modern UI-style application should be one of the easiest tasks in a developer’s lifetime. The Modern UI (formerly Metro) style that you know has very simple and minimalistic qualities to it. Some of those qualities include:

Animated Gauges for XAML

ComponentOne Gauges offer an interesting way to visualize your data. The C1Gauge libraries for Silverlight, WPF, Windows Phone and WinRT are all identical so I will refer to them as a whole as Gauges for XAML. While the gauges do not have built-in animation features, they do support standard XAML animation techniques. This blog post describes a common scenario and shows how you can apply an animation to the gauge pointer upon value change.

How To: Display ToolTip for a Cell

Spread for Silverlight does not have an in-built feature to show tooltip for a cell. This blog provides a way to use the default Silverlight ToolTip control to show tool tip for a cell in Spread.

A Print Preview Solution for FlexGrid and DataGrid

As product manager I love it when a feature can be accomplished by combining several existing ComponentOne controls into one solution. That is the case with this print preview sample that combines the C1PdfViewer control, the C1Pdf class library, and several other UI controls to create a complete print preview window for the C1FlexGrid and C1DataGrid controls. In short, the datagrid control gets saved to a PDF file in memory that is then displayed in the PdfViewer. From there users can adjust page settings, save as PDF or print.

Binding C1TabControl With C1DataGrid

Developers are often in need to link the data between two controls. Any changes done in one control should get updated in the other control. Now this is not something new and is implemented from long by using a common Data Source between the controls. Any changes from either of the controls are propagated to the other associated control.

Styling C1Chart PlotElements: The MVVM Way

MVVM architecture is quite popular among developer community and is heavily used these days. MVVM in Silverlight/WPF unlike its other Data Model counterparts, follows a simple fundamental of Code-Free Views.  Even though there are lot of conceptual features associated with MVVM,  the term Code-Free Views best fits to tell what MVVM is all about. It specifically addresses the power of data-binding and allows for a clean separation between presentation and business logic.

Searching Nodes in C1Treeview

C1TreeView is basically used to display Hierarchical data and can used in both bound and unbound mode. We can even show nested parent-child relationship by implementing C1HierarchicalDataTemplate and this has already been explained in this blog.

Windows 8 and Visual Studio 2012 - Is Your XAML Ready?

For the past several months we’ve been busy talking about Windows 8 and testing our controls in Visual Studio 2012 and .NET 4.5. Without Visual Studio and without Microsoft there is no ComponentOne, so it’s as important to us as it is to our customers, to have a product that supports the new while still supporting the old. XAML lives on as you can continue your WPF, Silverlight and Windows Phone development with VS2012. Windows 8 also introduces a new breed of XAML, known as WinRT, for C# and VB developers to write Modern-UI apps for the Windows Store.

Silverlight Chart : Creating ContextMenu for PlotElements

PlotElement is a visual presentation of data such as bar on the bar chart or slice of pie on the pie chart. This blog implementation provides a Context Menu option to customize the individual PlotElements in C1Chart for Silverlight.

Spread WPF and Spread Silverlight 1.0.4.0 Released!

Spread WPF and Spread Silverlight version 1.0.4.0 is now released! Enhancements in this version include:

Dragging C1DataGrid Data to C1Chart Control Using Column Headers

In this blog article, I am going to showcase a small implementation which shows the interaction between C1Chart and C1DataGrid with the help of C1DragDropManager control from our Silverlight suite. Objective of the blog is to support dragging of Column headers to Chart control to display corresponding Column values as DataSeries.

Using C1HtmlHost in LightSwitch Application

Microsoft Visual Studio LightSwitch is designed to help business users and developers quickly create data-based applications with minimal code. However, we can reduce our efforts further by using ComponentOne controls in it.

Serializing Lists to IsolatedStorage - Quick and Painless

Whether it's user settings or some quick data that I want to persist between runs of my application, I've often found a need for quickly saving and loading data from IsolatedStorage. Recently, I wrote an application that needed to store a list of users. On each run of the application the users are loaded, and on close of the application the users get saved. I wrote a simple pair of methods that serialized and deserialized my list of users from IsolatedStorage using the XmlSerializer class.

Custom ContextMenu in Spread for Silverlight

SilverLight 4.0 introduced lot of new features for its users including the support for Context Menu. By default, if you right click on any SilverLight control, it shows the installed SilverLight version on your machine.