← Back to all blogs

Featured Posts

Posts tagged with 'wpf'

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.

How To : Toggle Visibility of Subreports Using C1ReportDesigner

A SubReport is a report that is inserted in another report. Subreports are useful when you want to combine several reports into one. In C1Report, creating a Subreport is very simple. To know, how to create Subreports, you can read this Documentation link.

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.

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:

HowTo : Implement Keyboard Shortcuts for C1Chart

C1Chart for WPF offers powerful rendering, rich styling elements, animations, and data-binding capabilities. This control also has built-in functions that simplify the implementation of interactive behaviors for the end user. The end user can explore, rotate and zoom chart using Mouse and Shift key combinations.

Toggle DockState for C1DockTabControl in WPF

Occasionally, our customers ask if the DockState of the C1DockControl can be toggled by double clicking on the control. Answer to this question is Yes.  The dock state for the C1DockControl can be toggled on the C1DockControl's MouseDoubleClick event. However, in this scenario the toggling will take place every time the mouse is double-clicked anywhere in the control.

Sorting Unbound C1Flexgrid for WPF

Sorting is one of the most common requirements in all grid controls, irrespective of their platforms (ActiveX, WinForms, ASP.NET, WPF, SilverLight). When the grid is bound, sorting is done automatically when user clicks on column header. The reason is the underlying data source handles it. However, in case of an unbound grid, sorting is not possible as there is no datasource to handle this operation.

Check Out What’s New in 2012v2!

It’s that wonderful time of year again!  We are proud to announce that you can now download our new 2012v2 release.  There are a lot of enhancements and features in this release, and I’d love to take a few minutes to chat about some of the top features you might like to know about.

Display PopUp for Collapsed State Content in C1OutlookBar

When MS OutlookBar is in collapsed state, it shows the content of the selected item in a popup window. However, C1OutlookBar for Silverlight does not mimic this feature; perhaps it will be added in some future version.

Merge Multiple C1Reports in WPF and WinForms

C1Report offers the flexibility to create and save multiple reports in just one Report Definition File (.xml). However, only one report can be previewed at a time. Now there have been scenarios where customers wanted to merge these multiple reports (either from same or different report definition file(s)) and preview them as one document.

Binding TimeSpan Property in DataGrid (WPF & SL)

If you have a TimeSpan property exposed on your class and if you bind C1DataGrid to the collection of that class objects, the auto-generated TimeSpan column won't be editable. Using a DataGridDateTimeColumn will not fix the issue because the type of objects that DataGridDateTimeColumn expects(DateTime)  is a bit different from TimeSpan.

SL Flexgrid : Modified Clipboard Operations for Hidden Columns

C1Flexgrid for Silverlight provides clipboard support and handles copy/paste operations on its own. However, if a CellRange is selected that includes hidden row/column, then the data from that hidden row/column gets copied and, consequently, pasted to the grid itself or in the external editors.

FullTextSearch In C1DataGrid Bound To DataTable

C1DataGrid provides a very useful feature - FullTextSearch, which allows user to search all the columns at the same time. This functionality can be enabled by setting the attached 'FullTextSearchBehavior' property. Now this feature works fine when binding to a native collection because the functionality creates a custom collection view on the bound collection for enabling custom filters.

ComponentOne Studio Installation on VS2010 Express

Many customers face problems while running our ComponentOne Studio installers on VS2010 Express. When the installer is launched, a message is shown that you need to Install Visual Studio 2010 and the .Net 4.0 framework.

Stacked Charts In C1Reports

The various types of Charts that can be displayed in C1Reports are Bar, Column, Scatter, Line, Area and Pie. However, 'Stacking' in Bar Charts is not yet provided by the Chart Custom Field.

ColumnPicker in C1DataGrid

The ColumnPicker functionality is helpful in toggling the visibility of columns at runtime. This blog gives a very simple code to add this in C1DataGrid.

Silent Installation of ComponentOne Installers

Many customers have asked us whether there is any way to silently install C1 installer on a computer. When we normally run C1 installer it requires local administrator rights and asks permission to make an entry to the registry.

C1Report : Selecting Fields at Run Time

C1Reports have not just made reporting easy; the customizations and features it offers have also added it in the list of user-friendly controls.

Validation using IDataErroInfo in WPF C1DataGrid

IDataErrorInfo interface provides the ability to validate data and necessary error information that a user interface can bind to.

Adding DataLabels in Charts of C1Reports

Charts is one of the important features offered by C1Reports that is added as a 'Custom Field' in the reports. The Charts were included in C1Reports in 2004v3 release and since then many up-gradations in the same have been done from time to time. In order to get complete information about charting in C1Reports, you may refer to the following blog: