← Back to all blogs

Featured

Posts tagged with 'wpf'

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.

The ComponentOne Roadmap to 2012

Throughout 2012 Microsoft will be making stepwise releases of Windows 8 and Visual Studio 11 starting with a public Consumer Preview released on February 29th. With Microsoft’s new platform, application developers will have more options and more capabilities than ever before.  But professional developers won’t be the only ones to benefit from these new tools. Microsoft has really extended its reach to include non-professional application developers with Visual Studio LightSwitch, to commercial App developers with a new Metro UI Shell and App Marketplace - and to non-traditional “Microsoft” developers with first-class citizen-support for jQuery, CSS, and HTML.

Loading Rdl Reports in C1WpfReportViewer

ReportViewer for WPF can only display HTML and PDF-based reports. If we want to display RDL reports in it there is no directly available method.

Saving C1DataGrid for WPF as PDF

Below I have provided a way to save the contents from a C1DataGrid to PDF using the Windows Forms version of C1PdfDocument (C1.C1Pdf.4.dll).

What's New in XAML 2012 v1

I am pleased to announce the ComponentOne 2012 v1 release is here. XAML is a large focus this release from new controls and themes to our partnership with Esri bringing you world class mapping tools. Let me run-down many of the key new features in Studio for WPF, Silverlight and Windows Phone.

Exporting C1Chart to an Excel File

Exporting of ComponentOne Chart for WPF to an image and pdf file is explained in the documentation.

Displaying Connecting Lines in TreeView (SL & WPF)

The ability to show connecting lines between parent-child node is pretty useful and definitely gives a better representation in case of large data. TreeView controls over some platforms  have ShowLines property which user can set to see the connecting lines automatically.

Using Our Barcode Controls in WPF Apps

Like any WinForms control, C1Barcode for WinForms can be used within a WPF project. C1Barcode supports over 10 linear and 2D encoding types (QRCode) and can add barcode displays to any of your WinForms or WPF applications. For using the control in WPF you have a couple different options available to you.

ComponentOne and CodedUI: Tips and Tricks Part-II

As the title would suggest, this is the second part of the last post I started on CodedUI tests and ComponentOne controls.

Setting BackGround & ForeGround of WPF FlexGrid rows with CellTemplate

Usage of a TextBlock is quite common in CellTemplates of  Columns in a C1Flexgrid for WPF.  There might a requirement of changing BackGround/ForeGround of C1FlexGrid rows on some event, say MouseHover.

Draggable Pointer in C1LinearGauge

C1Gauge (SL and WPF) provides pointers to display values in a range. You may want to change the value by dragging the pointer to a specified value, just like a simple slider control behaves.

Binding Non-Boolean Properties to DataGridCheckBoxColumn

Can we bind a non-boolen property to DataGridCheckBoxColumn in C1DataGrid?

Charting with Multiple Plot Areas

Stacking plot areas within a chart can be a useful way to better analyze the data points. Rather than having many data series overlapped you can increase readability by moving some series to an adjacent plot area. This can all be achieved using the advanced capabilities of the ComponentOne Chart for XAML.