← Back to all blogs

Featured

Posts tagged with 'wpf'

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.

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!

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:

Using the Entity Framework C1DataSource in Visual Studio 2012

With the new release of Visual Studio now widely available there is a good chance that many of you may already be using it or will be migrating over to it in the not too distant future.  If one leaves aside the all caps menu and somewhat less colourful UI, most things in Visual Studio 2012 work in much the same way as they did in Visual Studio 2010. As a result porting existing projects from 2010 to 2012 is a relatively painless experience.  However, there have been some changes in the way that it works with the Entity Framework and those changes mean that for the present when building an Entity Data Model for use with the Studio for Entity Framework in Visual Studio 2012 (or if you rebuild a model in 2012 imported from 2010) you need to perform a couple of extra tasks before you will be able to use the created Object Context with a C1DataSource. This will not be necessary once you get an update for Studio for Entity Framework that will soon be available. But if you need to use the current version of SEF (version number less than 4.0.20123) in Visual Studio 2012, you can do it with simple steps below.

Working with BarCode in C1Reports

A BarCode is an optical machine-readable representation of data relating to the object to which it is attached. BarCodes are very much commercially successful and forms the backbone of automated checkout system in many industries.

Troubleshooting Missing CustomFields in C1ReportDesigner

The C1ReportDesigner is a tool used for creating and editing report definition files. To enhance your report, you can add fields (for example, lines, rectangles, labels, pictures and so on) to any Section in the report definition file. For advanced reporting requirements, this designer tool also provides CustomFields like Charts, BarCode, Map and few more.

Highlight Repeated Records in C1Report

C1Report is the data-based banded report in which the Detail Section is rendered for each record in the data-source. Since, the rendering of the Detail Section takes place exclusively for each record, it is difficult to have the following implementations:

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.

Using ActiveReports 7 with WPF

ActiveReports 7 is natively not supported in the WPF environment. However it can be hosted in WPF with the help of WPF's WindowsFormsHost control which allows you to host a Windows Forms control inside WPF applications. You just need to host the ActiveReports 7 Viewer control (which is responsible for rendering the report) using the WindowsFormHost control and you can view ActiveReports 7 reports  in 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.