← Back to all blogs

Featured Posts

Posts tagged with 'wpf'

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:

How to Save the State of C1DataGrid

The ComponentOne DataGrid for Silverlight and WPF has a rich collection of methods that allow you to easily track every movement the user makes. We can take advantage of this tracking to listen for layout changes made to the grid and then persist the layout between runs of the application.

How to Create a Custom Theme for C1Chart

The ComponentOne Chart for Silverlight and WPF comes with 12 unique themes out of the box. These themes can be applied by simply setting the Theme property. In addition to the 12 built-in themes, C1Chart is also supported in the several toolkit themes like Expression Dark, Shiny Blue, etc. But in many cases your requirements may dictate that you design a custom theme for the charts. In this blog post I will walk through creating a custom theme for C1Chart using Expression Blend 4.

Theming Studio for WPF

Studio for WPF ships with 17 professional themes. These themes are inspired by Microsoft Office, Expression Blend, the Silverlight toolkit themes as well as Modern UI. The 17 themes included are:

Rotate Pages in C1PdfViewer

Some of the PDF viewers allow the rotation of pages and changes in orientation.