← Back to all blogs


Posts tagged with 'wpf'

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.

Using a Custom CellFactory in MVVM Scenarios

The scenario is simple: a user wants to customize the way the FlexGrid displays information based on its state. For instance, when a row is collapsed it should display as one style, and when it’s expanded it should display as another style. How can you achieve this type of logic in the XAML world while still obeying the laws of MVVM? The answer is very simple: use a Cell Factory.

Extending Time Functions in C1Report

VbScript does not support native arithmetic operations like Sum/Difference on Time /DateTime objects. This makes a situation a bit complex when applying direct VbScript functions (SUM/DIFF) on fields of type Time/DateTime in C1Report.

View PDF files within WinForms applications

This blog discusses method to view pdf files in Winform application that can be done by porting currently available WPF C1PDFViewer into Winform.

Showing Master Detail data with C1Chart for WPF

There are situations when we need the chart to act as a drilldown data chart. For example, when we click  on a data-point we need to show some more underlying data, associated with that point.

ComponentOne Licensing

The Licensing process of our ComponentOne controls is fairly simple. The application should have a licenses.licx file containing the licensing information and the license key should be activated on the machine.

Custom PrintDialog in WPF C1DocumentViewer

When document with landscape layout is printed on a physical printer using the C1DocumentViewer, it is always printed as portrait. The orientation can only be changed manually when user selects the print orientation as Landscape in the printdialog. The issue is mainly because of the inherent MS DocumentViewer and there  aren't a lot of options to customize the default printdialog that pops up when print button is clicked. However, no issue is observed while printing on XPS printer.

Transposed FlexGrid (WPF & Silverlight)

There are times when user wants to see data as transposed i.e vertical rows and horizontal columns in grid. The simplest way to do this is use the DataTable object as the ItemsSource and transpose the data itself there.

Hierarchical C1TreeView from Self-referential DataSource

As it appears, this is among one of the most common discussions on web, so thought of writing something related to C1TreeView.

C1DataGrid Cell Animation Part 2

We saw how we can animate cells to show value changes in the WPF version of C1DataGrid here.

Working with the new TimeLine Scheduler View

The ComponentOne Scheduler controls now support a Time Line view for displaying appointments in a horizontal layout. This view is much like the “Schedule” view in Microsoft Outlook 2010, and yet we even offer it with the Office 2003 and 2007 visual styles.

GWB- Enrique Lima Reviews Entity Framework C1DataSource

 Geekswithblogs.net is a community group of bloggers delivering information and insight to developers and IT professionals. Mr. Enrique Lima recently evaluated ComponentOne's Studio for Entity Framework as part of the influencer program.

First Look at C1OutlookBar

One of our new controls in the 2011 v3 release is the C1OutlookBar in Studio for Silverlight and WPF. This control also goes by the name of C1NavBar in our Studio for WinForms. We found that "OutlookBar" was a more accurate and community-accepted name so we decided to go with this one in the XAML platforms. With C1OutlookBar, you can exactly replicate the navigation pane in Microsoft Outlook 2007 and 2010. See a live demo.

Customize the C1DateTimePicker Calendar

There are endless customisations possible with a WPF/Silverlight Calendar control.

Studio Enterprise 2011 v3 Released Today!

Today is a great day around the ComponentOne offices as we're proud to announce our 2011 v3 edition of our tools has been released!