← Back to all blogs


Posts tagged with 'wpf'

How To: Get Axis Values on Zooming WPF Chart

C1Chart for WPF offers a great feature in terms of zooming for better view-ability of a particular area of the chart.

C1DataGrid : Print Selected Cell Range

ComponentOne DataGrid for WPF supports printing and has an inbuilt Print method to achieve the same.

MultiThreading with C1DataGrid for WPF

MultiThreading is mostly used to create more responsive user interface, although it can be used for other tasks as well, like performing some action while still waiting for a response from a web service.

CommandBinding in WPF DataGrid - Part II

We discussed how to do CommandBinding 'MouseLeftButtonUp' event to find the selected row in WPF C1DataGrid in our first Blog.

Merge with C1MultiDocument

C1MultiDocument component allows creating, persisting, and exporting large documents that cannot be handled by a single C1PrintDocument object due to memory limitations. This was added in C1Reports in 2011v2 release.

Preserving a Docked Layout with C1DockControl

A common requirement for desktop applications with multiple tabs is to allow the user to save their workspace so they can quickly get back to being productive. With the ComponentOne docking controls for WPF (C1DockControl), you can deliver a multi-tabbed user interface that supports docking and floating windows. The user can rearrange their workspace quite easily by dragging tabs and docking them to any other location. So what if you need to save the workspace for future runs of the application?

Load Data from CSV File to ComponentOne Grids for Wpf

Almost all grid components (Wpf/Silverlight), including Wpf C1DataGrid and C1Flexgrid have an 'ItemSource' property that gets or sets the data source of the control. This property accepts objects of type System.Collections.IEnumerable. However, there might be a scenario when user needs to read and load data from a CSV file to the grid. There's no direct property/method available for this and here we discuss how to implement this.

Copy Data from Excel to ComponentOne Grids for Wpf

Provision to copy data from MS-Excel to any grid component is quite a common requirement. Here, we discuss the same implementation using C1DataGrid and C1FlexGrid for WPF.

How to Fill Area Charts in C1Chart

ComponentOne Chart for WPF revolutionizes chart presentations through powerful rendering, rich styling elements, animations, and data-binding capabilities. One can create a Gradient Effect in C1Chart by using the LinearGradientBrush class. In this blog, we will discuss how to make use of this class to create a Gradient Effect in an Area Chart & fill it with multiple colors.

Batch Update in C1DataGrid for WPF

Developers need to track the edits (insert, update and delete) while working in any grid control and then provide the capability to utilize the same database connection to perform the updates, and optionally perform the updates as an atomic transaction.  There are use cases when a user changes data in a data grid, and those changes are immediately reflected back to the database.

Restricting Max Zoom on C1Map

ComponentOne Maps for WPF provides lot of features including smooth zooming, panning, and mapping between screen and geographical coordinates.

What's New in XAML 2013 v2

There is so much to cover in the 2013 v2 release of Studio for WPF, Silverlight, WinRT XAML and Windows Phone. You can now download this update from the web site. If you're interested in more than one studio, I recommend installing Studio Enterprise. The web installer lets you select which studios you wish to download and install. In this post I highlight 12 of the coolest new features and controls.

Binding WPF C1DataGrid to XML File

Windows Presentation Foundation (WPF) provides developers with a vast amount of data binding functionality. However, one area where the data binding falls short is with the XmlDataProvider. XmlDataProvider Class enables declarative access to XML data for data binding. With an XmlDataProvider, the underlying data that can be accessed through data binding in your application can be any tree of XML nodes. In other words, an XmlDataProvider provides a convenient way to use any tree of XML nodes as a binding source.

How To: Select Multiple PlotElements using Mouse in WPF Chart

Chart control being frequently used for data analysis always left a void for customization in Winforms version. However, with WPF, this void has been filled.

Customizations in C1NumericBox for Silverlight

The C1NumericBox control is a numeric editor, provided with ComponentOne Studio for Silverlight suite, that allows you to display and edit numeric values in many formats. At times, we need to make a few modifications to the control to suit our needs. And I've provided a couple of such implementations here.

Export WPF Chart to PDF in Console Application

We often receive queries from customers who are looking to use the WPF C1Chart control in a Console Application. They want to know how a Chart object can be implemented, customized and finally a PDF file can be generated with the Chart Image.

SparkLines in Spread for Silverlight/WPF

We all want to have some graphical representation of our data in SpreadSheet. We usually do it using Charts in our Sheets. Unfortunately Charts are currently not available with Spread for Silverlight/WPF. However Spread provides an alternative for this; we can use SparkLines. You can show Sparkline within a cell which makes this feature more interesting.There are three types of Sparklines you can show in a cell.

Undo Feature for Adding/Removing Rows in Spread for Silverlight

Spread for Silverlight provides the functionality where users can undo their last operation using Ctrl+Z. However, one of the Spread users suggested that spread should also offer the option to undo the operation of adding and removing rows. This prompted me to come up with this blog.

CommandBinding in Wpf C1DataGrid

While developing applications in Wpf, sometimes we follow the MVVM pattern and come across the requirement to bind commands. We'll discuss the same in this blog. And for demo purpose, I've implemented command binding in Wpf C1DataGrid. Our motive is to enable row selection using MVVM.

Load Images in C1DataGrid for Silverlight using WCF

More often than not, users have a requirement to display images in Silverlight applications. Here, we discuss the same using C1DataGrid for Silverlight.