← Back to all blogs

Posts in 'silverlight'

ComponentOne ClearStyle Technology White Paper

The main goal of ComponentOne ClearStyle™ technology is to allow developers to make simple visual appearance changes without having to deal with Microsoft Expression Blend, Styles and Templates.

Export Translated Text for DataGridTemplateColumn

This article on C1DataGrid for Silverlight is a utility blog to cater to the requirement of the developers who would like to show Translated text for cell values in DataGridTemplateColumn and along with that, export these translated Text to an excel sheet.

C1 RussCamTV Episode 86: TechEd Part 12

There's more from TechEd 2012... this time a MVP twofer! First, Microsoft Windows Phone Developer MVP Nikita Polyakov talks about why he's excited about Windows Phone development and the tools available from ComponentOne a division of GrapeCity! Then, Microsoft Silverlight Architecture MVP Ward Bell tells us about his company and why he's thinking about trying Controls by ComponentOne to make his product even better!

The Power of Names

Spread is the go-to control for embedding Microsoft Excel-compatible spreadsheet functionality into your .NET, ASP.NET, Silverlight, WPF, Windows Store, and COM applications. For all platforms, the control is easy to customize using the Spread Designer (or code if you prefer). In this example we'll show how to modify your spreadsheet by assigning names.

A digital clock in Spread

Recently I saw someone asked in a forum, how to add a digital clock in Excel. It is a interesting question, and I thought it is easy to make one by Spread WPF-Silverlight / Spread WinRT. Just for fun, I opened the Spread Designer...

Spread WPF-Silverlight Released!

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

How To: Use Mouse Events on PlotElements with ChartPanel

ChartPanel makes C1Chart for Silverlight quite flexible and helps in laying several elements over chart view. This helps in implementing features like Mouse Markers. However, if one uses the ChartPanel for enabling mouse markers, the events added to PlotElements don't work because ChartPanel listens to these events and doesn't pass them to the PlotElements.  We may simply set the ChartPanel background to null to workaround the issue; however we lose the marker feature.

30 lines code make a calculator by Spread

Can 30 lines of code make a calculator? Yes, because we have Spread.

Setting Column Header Style for Active Cell

Spread for Silverlight allows you to implement lot of customization. In this blog I will explain how we can set the style for Spread cells in header. Setting style for headers is not a big task as there is already a DefaultStyle property for ColumnHeader class which you can use to set style for ColumnHeader cells. Here is an an example on how to do that:

Merging Cells in DatagridHyperLinkColumn

Merging of cells within C1DataGrid for Silverlight is something that every user does. And MergingHelper class available with C1DataGrid help merge cells in all types of columns. However, it fails when it comes to merge cells in DatagridHyperLinkColumn.

How To: Setting RTF Style for Cell Text

Setting styles for text with Spread for ASP.Net is really simple by using HTML tags with in a cell. However, there is no EncodeValue property for Spread for Silverlight to recognize these HTML tags with in a cell .

Retain Selection on Sorting, Grouping and Filtering in C1DataGrid

We're often in a situation where we've selected a row and then as soon as we apply sorting or filtering on the grid, a row with different data gets selected. This is because selection works on the basis of row index in most of the Grid controls and it applies for C1DataGrid for Silverlight as well. So if we select the first row and apply sorting, grouping or filtering, we will observe that the first row remains selected. Now, suppose if we fetch the data of the selected row, we would get different data. This behavior will occur every time we apply any data operation on the grid. What do we do then!!

Drag Drop Rows Between Two C1FlexGrids

Drag-drop operations between two sources are very common. Silverlight suite from ComponentOne provides a pretty useful class C1DragDropManager which makes the drag/drop pretty easy to handle. You can easily configure the class and instantly add the drag/drop feature to you application.

Displaying Custom Labels on C1Chart3D Axes

This brief post details a solution to display custom string labels on a C1Chart3D axis as the title suggests. For a getting started tutorial on the C1Chart3D control, read my other blog post here.

Chart Data Point Selection (MVVM)

Another new feature in the 2012 v3 version of the ComponentOne XAML chart controls is selection support. We’ve always been able to detect which plot element is clicked on using either the PlotElementLoaded event or DataIndexFromPoint method, but this new selection feature makes it especially easier when working in MVVM scenarios because there's no code-behind required. Charts are not typically used as a means for selection, such as a ListBox or DataGrid, but in some scenarios they work quite nicely. For example, column, bar and pie charts lend themselves very well to selection.

Getting Started with Chart Animation in XAML

Many of the enhancements to the C1Chart control in 2012 v3 were to make development easier. Animation is one of those features. You’ve always been able to apply animations to the plot elements, but now with the new animation API it got a lot easier. This blog post walks through creating load animations in XAML.

A Handy Tool: Working with C1PromptBox

Studio for Silverlight and WPF contain many small and helpful components that you might not be aware of. This blog post focuses on the C1PromptBox class that provides a quick prompt window to collect user data.

Chart Automatic Series Generation (MVVM)

The C1Chart control got several new enhancements in the 2012 v3 release. One of the new features introduced is automatic series generation. Two new properties on the ChartData object now enable the number of data series to be automatically generated based upon the model. This is a useful feature for developers using MVVM as now the number of series can be completely generated in the View Model.