Click here to Skip to main content

Articles by Colin Eberhardt (Articles: 19, Technical Blogs: 59)

Articles: 19, Technical Blogs: 59

RSS Feed

Average article rating: 4.95

Client side scripting

From Silverlight to HTML5
Posted: 1 Jul 2011   Updated: 4 Jul 2011   Views: 59,362   Rating: 4.97/5    Votes: 54   Popularity: 8.60
Licence: The Code Project Open License (CPOL)      Bookmarked: 95   Downloaded: 1,109
This article describes my experiences of taking a control written in Silverlight for Windows Phone 7 and making it cross-platform by re-implementing it using JavaScript and HTML5.
KnockoutJS vs. Silverlight
Posted: 12 Apr 2012   Updated: 16 Apr 2012   Views: 45,193   Rating: 4.99/5    Votes: 58   Popularity: 8.80
Licence: The Code Project Open License (CPOL)      Bookmarked: 81   Downloaded: 698
This article compares Silverlight and KnockoutJS by looking at the implementation of the same application with both frameworks and tries to answer the all-important question "which framework is best?"

Silverlight

Exploring Reactive Extensions (Rx) through Twitter and Bing Maps Mashups
Posted: 2 Dec 2010   Updated: 2 Dec 2010   Views: 26,697   Rating: 4.93/5    Votes: 31   Popularity: 7.35
Licence: The Code Project Open License (CPOL)      Bookmarked: 40   Downloaded: 509
In this article, I give a brief introduction to Reactive Extensions, then explore their use within Silverlight by creating a Twitter / Bing Maps mashup.
Plotting Circular Relationship Graphs with Silverlight
Posted: 8 Mar 2012   Updated: 9 Mar 2012   Views: 25,009   Rating: 5.00/5    Votes: 80   Popularity: 9.52
Licence: The Code Project Open License (CPOL)      Bookmarked: 65   Downloaded: 910
This article describes the creation of a circular relationship graph, which plots a network of interconnected nodes as a circle.

Trace and Logs

The Art of Logging
Posted: 14 Sep 2009   Updated: 2 Dec 2009   Views: 52,032   Rating: 5.00/5    Votes: 37   Popularity: 7.84
Licence: The Code Project Open License (CPOL)      Bookmarked: 148   Downloaded: 0
This article provides guidelines for logging within your web or desktop applications, answering questions such as when to log, what to log, and how to log.

Windows Phone 7/8

XAMLFinance – A Cross-platform WPF, Silverlight & WP7 Application
Posted: 19 Sep 2011   Updated: 21 Sep 2011   Views: 68,769   Rating: 4.95/5    Votes: 85   Popularity: 9.55
Licence: The Code Project Open License (CPOL)      Bookmarked: 212   Downloaded: 6,098
This article describes the development of XAML Finance, a cross-platform application which works on the desktop, using Windows Presentation Foundation (WPF), on the web, using Silverlight and on Windows Phone 7 (WP7).
A Gesture-Driven Windows Phone To-Do List
Posted: 25 Jul 2012   Updated: 6 Sep 2012   Views: 27,568   Rating: 4.92/5    Votes: 50   Popularity: 8.36
Licence: The Code Project Open License (CPOL)      Bookmarked: 69   Downloaded: 870
This article describes the development of a Windows Phone to-do list application that eschews buttons and checkboxes in favour of gestures.
Property Finder – a Cross-Platform Xamarin MonoTouch Mobile App
Posted: 2 Jan 2013   Updated: 3 Jan 2013   Views: 11,313   Rating: 5.00/5    Votes: 11   Popularity: 5.21
Licence: The Code Project Open License (CPOL)      Bookmarked: 28   Downloaded: 238
A look at how Xamarin MonoTouch allows you to create cross-platform applications, using the native C# / Silverlight for Windows Phone and C#, via Xamarin MonoTouch, for iOS.
A Windows Phone 8 Run Tracking App in 100 Lines of Code
Posted: 4 Jan 2013   Updated: 4 Jan 2013   Views: 16,967   Rating: 5.00/5    Votes: 40   Popularity: 8.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 68   Downloaded: 312
This article describes the development of a Windows Phone 8 Run Tracking application that uses a number of the new Windows Phone 8 features.
Developing a Windows Phone 7 Jump List Control
Posted: 10 Mar 2011   Updated: 18 May 2011   Views: 40,417   Rating: 4.95/5    Votes: 28   Popularity: 7.17
Licence: The Code Project Open License (CPOL)      Bookmarked: 44   Downloaded: 1,700
This article describes the development of a Windows Phone 7 Jump List control, giving a step-by-step account of the control's development (and a pretty flashy control to use at the end of it!).
Property Finder - a Cross-Platform HTML5 Mobile App
Posted: 23 Aug 2012   Updated: 3 Sep 2012   Views: 24,407   Rating: 5.00/5    Votes: 30   Popularity: 7.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 59   Downloaded: 813
This article describes the development of a cross-platform HTML5 application for Windows Phone and iPhone.

LINQ

LINQ to Tree - A Generic Technique for Querying Tree-like Structures
Posted: 1 Mar 2010   Updated: 4 Mar 2010   Views: 79,026   Rating: 4.93/5    Votes: 101   Popularity: 9.87
Licence: The Code Project Open License (CPOL)      Bookmarked: 201   Downloaded: 1,624
This article presents a generic approach to applying LINQ queries to tree like structures. Using T4 templates for code generation, LINQ to VisualTree (WPF), LINQ to WinForms, and LINQ to FileSystem APIs are constructed.

Windows Presentation Foundation

Developing an Autofilter ListView
Posted: 8 Jul 2008   Updated: 8 Jul 2008   Views: 90,157   Rating: 4.97/5    Votes: 24   Popularity: 6.86
Licence: The Code Project Open License (CPOL)      Bookmarked: 88   Downloaded: 2,451
This article describes the development of an Excel-like Autofilter ListView.
A WPF Pie Chart with Data Binding Support
Posted: 24 Jul 2008   Updated: 24 Jul 2008   Views: 157,102   Rating: 4.95/5    Votes: 63   Popularity: 8.91
Licence: The Code Project Open License (CPOL)      Bookmarked: 188   Downloaded: 4,577
This article describes the development of an interactive pie chart which uses data binding.
Bullet Graphs - A Custom Control - WPF vs. Windows Forms
Posted: 10 Oct 2008   Updated: 10 Oct 2008   Views: 98,686   Rating: 4.86/5    Votes: 45   Popularity: 8.03
Licence: The Code Project Open License (CPOL)      Bookmarked: 145   Downloaded: 4,364
This article compares the development of a Line of Business control, the Bullet Graph, in both WPF and Windows Forms.
WPF DataGrid Practical Examples
Posted: 12 Nov 2008   Updated: 1 Feb 2009   Views: 1,250,560   Rating: 4.96/5    Votes: 186   Popularity: 11.26
Licence: The Code Project Open License (CPOL)      Bookmarked: 599   Downloaded: 31,362
This article provides a number of practical examples which demonstrate how to perform validation, styling, and DataSet integration with the new WPF DataGrid.
Generate WPF and Silverlight Dependency Properties using T4 Templates
Posted: 28 Apr 2009   Updated: 28 Apr 2009   Views: 49,871   Rating: 4.95/5    Votes: 36   Popularity: 7.71
Licence: The Code Project Open License (CPOL)      Bookmarked: 62   Downloaded: 583
This article describes how to generate Dependency Properties from an XML declaration using a simple T4 template. It also includes a quick T4 primer.

Ultrabooks

Clearer – A Gesture-Driven Windows 8 To-Do Application
Posted: 9 Oct 2012   Updated: 9 Oct 2012   Views: 10,625   Rating: 4.97/5    Votes: 11   Popularity: 5.17
Licence: The Code Project Open License (CPOL)      Bookmarked: 16   Downloaded: 411
This article describes my experiences of porting a novel gesture-driven Windows Phone app to Windows 8.

Code Generation

Declarative Codesnippet Automation with T4 Templates
Posted: 20 Apr 2011   Updated: 20 Apr 2011   Views: 15,068   Rating: 4.73/5    Votes: 14   Popularity: 5.42
Licence: The Code Project Open License (CPOL)      Bookmarked: 23   Downloaded: 1,105
This article describes a technique for automating codesnippets which are associated with a class via attributes. This results in a declarative approach to the generation of boiler-plate code.

Average blogs rating: 4.94

Grid & Data Controls

Paging Data from the Server with Silverlight [Technical Blog]
Posted: 20 Oct 2011   Updated: 20 Oct 2011   Views: 12,821   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
This blog post provides an implementation of IPagedCollectionView which allows paging of data from the server. An IPagedDataSource is introduced that allows any paged data source to be plugged in, with the standard controls such as DataPager making it easy to create paging applications.

Silverlight

Exposing Bindings as Properties of a Control [Technical Blog]
Posted: 19 Jun 2009   Updated: 19 Jun 2009   Views: 10,211   Rating: 4.54/5    Votes: 5   Popularity: 3.17
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
Demonstrates how to create versatile controls which expose bindings for the elements which they contain internally.
Developing a (very) Lookless Silverlight Radial Gauge Control [Technical Blog]
Posted: 19 Aug 2010   Updated: 19 Aug 2010   Views: 12,089   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 15   Downloaded: 0
Development of a lookless radial gauge control
A Simple Pattern for Creating Re-useable UserControls in WPF / Silverlight [Technical Blog]
Posted: 7 Feb 2012   Updated: 7 Feb 2012   Views: 9,488   Rating: 4.80/5    Votes: 5   Popularity: 3.32
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
This blog post provides step-by-step instructions for creating a user control, which exposes bindable properties, in WPF and Silverlight. The post covers dependency properties, and how to manage DataContext inheritance.
Implementing RelativeSource binding in Silverlight [Technical Blog]
Posted: 16 May 2009   Updated: 17 May 2009   Views: 24,978   Rating: 4.87/5    Votes: 6   Popularity: 3.67
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
This technical blog post shows how to create FindAncestor and RelativeSource.Self bindings with Silverlight 2.0
Binding a Silverlight DataGrid to dynamic data Part 2 - editable data and INotifyPropertyChanged [Technical Blog]
Posted: 16 May 2009   Updated: 17 May 2009   Views: 18,807   Rating: 4.88/5    Votes: 4   Popularity: 2.94
Licence: The Code Project Open License (CPOL)      Bookmarked: 13   Downloaded: 0
This technical blog post shows how to bind a DataGrid to dynamic data where the properties are not know at design / compile-time.
Binding a Silverlight DataGrid to dynamic data via IDictionary [Technical Blog]
Posted: 16 May 2009   Updated: 17 May 2009   Views: 65,434   Rating: 4.86/5    Votes: 6   Popularity: 3.76
Licence: The Code Project Open License (CPOL)      Bookmarked: 16   Downloaded: 0
This technical blog post shows how to bind a DataGrid to dynamic data where the properties are not known at design / compile-time.
ElementName binding in Silverlight via Attached Behaviours [Technical Blog]
Posted: 16 May 2009   Updated: 17 May 2009   Views: 12,365   Rating: 4.80/5    Votes: 4   Popularity: 2.86
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
This technical blog post shows how to perform element name bindings purely within XAML in Silverlight 2.0
Adding a Location Crosshair to Silverlight charts [Technical Blog]
Posted: 16 May 2009   Updated: 17 May 2009   Views: 12,304   Rating: 4.80/5    Votes: 2   Popularity: 1.44
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
This technical blog post details the differences in the latest release of the Silverlight charts and shows how to add a location crosshair.
Dependency Property Performance and Lissajous Figures [Technical Blog]
Posted: 2 Jun 2009   Updated: 2 Jun 2009   Views: 10,444   Rating: 4.93/5    Votes: 8   Popularity: 4.45
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
A simple lesson regarding the speed of dependency properties ... and a funky Oscilloscope!
Helpful extension methods for Show / Hide animations in Silverlight [Technical Blog]
Posted: 27 Sep 2009   Updated: 28 Sep 2009   Views: 8,898   Rating: 4.83/5    Votes: 3   Popularity: 2.31
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Today's blog post is a couple of very simple utility methods that I have found myself using again and again ...
Rippling Reflection Effect with Silverlight 3’s WriteableBitmap [Technical Blog]
Posted: 22 Feb 2010   Updated: 22 Feb 2010   Views: 7,335   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
This blog post demonstrates how Silverlight 3's WriteableBitmap can be used to create a UserControl that renders the content of any other Framework Element as a reflection with an animated ripple effect
Binding a Silverlight 3 DataGrid to dynamic data via IDictionary (Updated) [Technical Blog]
Posted: 26 Mar 2010   Updated: 26 Mar 2010   Views: 11,077   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
This blog post is a bug fix (due to differences between SL2 and SL3) and expansion on my previous posts on this subject.
Throttling Silverlight Mouse Events to Keep the UI Responsive [Technical Blog]
Posted: 15 Jun 2010   Updated: 15 Jun 2010   Views: 5,713   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
Throttling Silverlight Mouse Events to Keep the UI Responsive
Silverlight MultiBindings, How to attach multiple bindings to a single property. [Technical Blog]
Posted: 25 Jun 2009   Updated: 15 Jun 2010   Views: 49,291   Rating: 4.97/5    Votes: 16   Popularity: 5.99
Licence: The Code Project Open License (CPOL)      Bookmarked: 51   Downloaded: 0
This blog post describes a technique for associating multiple bindings with a single dependency property within Silverlight applications. WPF already has this functionality in the form of MultiBindings, the code in this post emulates this function.
Exposing and Binding to a Silverlight ScrollViewer’s Scrollbars [Technical Blog]
Posted: 21 Jul 2010   Updated: 22 Jul 2010   Views: 9,474   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
An attached behaviour that exposes the ScrollViewer's horizontal / vertical offset as dependency properties that permit binding
Developing a Lookless Silverlight Gauge Control (part 2) [Technical Blog]
Posted: 21 Oct 2010   Updated: 21 Oct 2010   Views: 6,603   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
In a previous blog post I described the process of creating a lookless gauge control. I introduced the concept of an attached view model which separates view specific concepts from the control. In this post I demonstrate how this allows for great flexibility when re-templating the control.In my prev
MVVM Charting – Binding Multiple Series to a Visiblox Chart [Technical Blog]
Posted: 19 May 2011   Updated: 19 May 2011   Views: 8,140   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
This post describes a method of using attached properties to bind a ViewModel which contains multiple data series to a Visiblox chart without any code-behind. The Visiblox chart supports databinding in both WPF and Silverlight, where the X and Y values for each datapoint are bound to properties on..
Automatically Showing ToolTips on a Trimmed TextBlock (Silverlight + WPF) [Technical Blog]
Posted: 24 May 2011   Updated: 24 May 2011   Views: 10,576   Rating: 4.93/5    Votes: 5   Popularity: 3.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
Both WPF and Silverlight have a property TextTrimming="WordEllipsis", which trims the text that a TextBlock displays based on the available width. This blog post describes a simple method for automatically showing the full text as a tooltip whenever the text is trimmed.
A Circular ProgressBar Style using an Attached ViewModel [Technical Blog]
Posted: 24 May 2011   Updated: 24 May 2011   Views: 9,526   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
This blog post describes how to re-template the Silverlight ProgressBar control to render a circular progress indicator. This approach uses an attached view model to circumnavigate some of the limitations of the ProgressBar design.
Everything you wanted to know about databinding in WPF, Silverlight, and WP7 (Part One) [Technical Blog]
Posted: 26 Apr 2012   Updated: 26 Apr 2012   Views: 5,118   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
Databinding is a fundamental part of the WPF, Silverlight, and the Silverlight for Windows Phone 7 frameworks. It is a powerful concept that once mastered allows you to write concise and elegant code.
Silverlight ClipToBounds - Can I Clip It?, Yes You Can! [Technical Blog]
Posted: 16 May 2009   Updated: 17 May 2009   Views: 30,932   Rating: 4.92/5    Votes: 14   Popularity: 5.62
Licence: The Code Project Open License (CPOL)      Bookmarked: 13   Downloaded: 0
This technical blog posts shows how to add a new property ClipToBounds to clip your UI Elements.

iPhone

An Introduction and Thoughts on Developing iOS Applications with MonoTouch [Technical Blog]
Posted: 31 Jul 2012   Updated: 31 Jul 2012   Views: 8,864   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
This blog post describes the creation of a simple Twitter search application for iOS, based on a similar application I wrote for Windows Phone a few months back.

Windows Phone 7/8

A Fast Loading Windows Phone 7 NavigationList Control [Technical Blog]
Posted: 17 May 2011   Updated: 17 May 2011   Views: 10,303   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 208
This blog post describes a Windows Phone 7 NavigationList control, a list control designed for navigation pages. The NavigationList renders twice as fast as a ListBox and has a slightly simpler API.
A Windows Phone 7 Slide View with Page Pips [Technical Blog]
Posted: 8 Dec 2011   Updated: 8 Dec 2011   Views: 14,679   Rating: 4.91/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
A slide view with page pips on Windows Phone 7.
Windows Phone 7 Performance Measurements – Emulator vs. Hardware [Technical Blog]
Posted: 20 May 2011   Updated: 20 May 2011   Views: 5,418   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
This blog post presents a few performance measurements that detail the relative performance of ItemsControl, ListBox and manual addition of elements to the UI. These performance measurements are also compared when ran on the emulator and the real hardware. My early experiences of moving from the WP7
Google Sky on Windows Phone 7 [Technical Blog]
Posted: 20 May 2011   Updated: 20 May 2011   Views: 7,887   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
This blog post shows just how easy it is to use Google Sky as a tile source for Bing Maps, bringing the universe to Windows Phone 7! Personally I think mapping is one of the most exciting forms of application for mobile devices – the fantastic imagery available from Bing and Google maps, coupl
Windows Phone 7 DeferredLoadContentControl [Technical Blog]
Posted: 24 May 2011   Updated: 24 May 2011   Views: 6,544   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
This blog post describes a simple content control that can be used to defer the rendering of its contents in order to provide a better user experience on Windows Phone 7.
A Simple Windows Phone 7 MVVM Tombstoning Example [Technical Blog]
Posted: 24 May 2011   Updated: 24 May 2011   Views: 20,545   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
This blog post shows how to implement tombstoning within a Windows Phone 7 application that following the Model-View-ViewModel pattern
Implementing a Windows Phone 7 Conversation View [Technical Blog]
Posted: 19 Jul 2011   Updated: 19 Jul 2011   Views: 4,190   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
This blog post looks at how to to create a conversation view, mimicking the SMS messaging interface within Windows Phone 7. This post shows how we can select different DataTemplate for each item in an ItemsControl to achieve this effect.
Capturing Windows Phone 7 Panorama Images [Technical Blog]
Posted: 5 Aug 2011   Updated: 5 Aug 2011   Views: 9,101   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
The Windows Phone 7 Panorama control is widely used in applications and to many has come to symbolise the Metro Design Language. Search for panorama images and you will find numerous promo-shots of Windows Phone 7 applications which display the panoramic contents of the application hub, with an imag
Implementing a Windows Phone 7 Conversation View Part Two [Technical Blog]
Posted: 8 Aug 2011   Updated: 8 Aug 2011   Views: 10,728   Rating: 4.83/5    Votes: 4   Popularity: 2.90
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
This blog post describes how to implement a conversation / messaging style application with Windows Phone 7. It covers how to style the speech bubbles and the scrolling of the conversation list view when the phone keyboard is shown.
Developing Windows Phone 7 HTML5 apps with PhoneGap [Technical Blog]
Posted: 30 Sep 2011   Updated: 30 Sep 2011   Views: 11,615   Rating: 4.92/5    Votes: 5   Popularity: 3.43
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   Downloaded: 0
This article show the step-by-step development of a Windows Phone 7 HTML5 application using PhoneGap. It also looks at how viable this approach is for cross-platform mobile development. Introduction … and Why HTML5? Windows Phone 7 allows native application development in both Silverlight and
A Windows Phone 7.1 (Mango) MVVM Tombstoning Example [Technical Blog]
Posted: 17 Oct 2011   Updated: 17 Oct 2011   Views: 12,891   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 4   Downloaded: 0
A Windows Phone 7.1 (Mango) MVVM Tombstoning Example
Windows Phone 7 – Browsing your Photos via Bing Maps [Technical Blog]
Posted: 16 Jan 2012   Updated: 16 Jan 2012   Views: 11,249   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
Browsing your Photos via Bing Maps.
Enhanced Windows Phone 8 Map Gestures [Technical Blog]
Posted: 15 Apr 2013   Updated: 15 Apr 2013   Views: 1,493   Rating: 4.93/5    Votes: 5   Popularity: 3.43
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
This blog post describes the addition of a two-finger rotation and three-finger pitch gesture to the Windows Phone 8 Map control.

C#

Forcing Event Consumer Cleanup without Weak Events [Technical Blog]
Posted: 22 Feb 2010   Updated: 22 Feb 2010   Views: 6,082   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 0
This blog post describes a simple technique for ensuring that consumers of events unsubscribe their event handlers without the need for weak events.

Cross Platform

Introducing PropertyCross – Helping you select a cross-platform mobile framework [Technical Blog]
Posted: 23 Dec 2012   Updated: 23 Dec 2012   Views: 2,726   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
The aim of PropertyCross is to make it easier for developers to choose a suitable framework from the ever-growing range of cross-platform mobile application development frameworks. This blog post provides a little bit of background to the project.

LINQ

LINQ to Objective-C [Technical Blog]
Posted: 25 Feb 2013   Updated: 25 Feb 2013   Views: 1,647   Rating: 4.50/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Creating a LINQ-style API for Objective-C has proven to be relatively simple (and fun!). I have provided implementations for some of the most common and useful LINQ methods, however the .NET LINQ APIs for querying collections have a great many more methods than the ones I have covered.

Windows Presentation Foundation

A Universal Value Converter for WPF [Technical Blog]
Posted: 9 Jul 2010   Updated: 9 Jul 2010   Views: 13,818   Rating: 5.00/5    Votes: 13   Popularity: 5.57
Licence: The Code Project Open License (CPOL)      Bookmarked: 32   Downloaded: 0
This post provides a simple IValueConverter implementation that makes use of the framework type converters in order to convert between a large range of source / target types. This converter can be used both within bindings and in code-behind to give more concise property setters
The mini-ViewModel pattern [Technical Blog]
Posted: 7 Aug 2009   Updated: 7 Aug 2009   Views: 10,269   Rating: 5.00/5    Votes: 9   Popularity: 4.77
Licence: The Code Project Open License (CPOL)      Bookmarked: 22   Downloaded: 0
The construction of a ViewModel is often seen as the standard technique for solving binding problems within WPF and Silverlight. However, the addition of a ViewModel adds complexity to your code. This post describes an alternative method where a mini-ViewModel is applied directly to the problem area
Declarative Dependency Property Definition with T4 + DTE [Technical Blog]
Posted: 18 Aug 2009   Updated: 18 Aug 2009   Views: 9,739   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
This blog post describes a technique for specifying WPF / Silverlight Dependency Properties declaritively via attributes.
Modal dialogs in cross-platform WPF/Silverlight applications [Technical Blog]
Posted: 18 Jun 2010   Updated: 18 Jun 2010   Views: 7,073   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
This blog post looks at the problem of showing modal dialog windows in applications that target both the Silverlight and WPF platforms. A solution is provided which allows modal dialogs to be written that work well for both technologies.
Using CSS Selectors for Styling in WPF [Technical Blog]
Posted: 16 May 2009   Updated: 17 May 2009   Views: 16,446   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 16   Downloaded: 0
This technical blog post details a novel technique for leveraging the power of CSS selectors within WPF.
LINQ to Visual Tree [Technical Blog]
Posted: 4 Mar 2010   Updated: 15 Jun 2010   Views: 9,882   Rating: 4.71/5    Votes: 5   Popularity: 3.03
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 0
This blog post demonstrates a Linq API which can be used to query the WPF / Silverlight Visual Tree.

Windows 8 Design

Metro in Motion Part #1 – Fluid List Animation [Technical Blog]
Posted: 17 May 2011   Updated: 17 May 2011   Views: 10,841   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   Downloaded: 215
This blog post presents an attached behaviour that gracefully slides the contents of a list into view when used in conjunction with a Pivot control, emulating the Windows Phone 7 email application.
Metro in Motion Part #2 – ‘Peel’ Animations [Technical Blog]
Posted: 17 May 2011   Updated: 18 May 2011   Views: 7,986   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 127
This blog post is part #2 of my Metro in Motion series. In this post, I demonstrate how to implement the animated 'peel' effect seen when native Windows Phone 7 applications exit.
Metro in Motion Part #3 – Flying Titles! [Technical Blog]
Posted: 17 May 2011   Updated: 18 May 2011   Views: 7,574   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 117
In this blog post I look at how to implement the fly-out fly-in effect seen in native Windows Phone 7 applications. This effect is seen in the native mail application; when you click on a message, the title flies out of the list then flies back in as the title of the message page.
Metro in Motion Part #4 – Tilt Effect [Technical Blog]
Posted: 17 May 2011   Updated: 18 May 2011   Views: 8,609   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 197
This blog post describes the implementation of a metro ’tilt’ effect for Windows Phone 7 which causes element to respond to user interactions by tilting in 3D.
Metro In Motion #5 – SandwichFlow [Technical Blog]
Posted: 19 May 2011   Updated: 19 May 2011   Views: 6,603   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
For the past few months I have been writing a Metro-In-Motion blog series which describes how to recreate some of the fluid effects found in native Windows Phone 7 applications within your own applications. So far I have covered fluid list animations, 'peel' animations, flying titles...
Metro In Motion Part #6 – Rolling List Location Indicator [Technical Blog]
Posted: 6 Jun 2011   Updated: 6 Jun 2011   Views: 10,060   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
This blog post describes the development of a rolling list location indicator. This indicator mirrors the behaviour seen in the native Windows Phone 7 calendar which rolls from one date to the next as the user scrolls.
Metro In Motion Part #7 – Panorama Prettiness and Opacity [Technical Blog]
Posted: 16 Jun 2011   Updated: 16 Jun 2011   Views: 10,134   Rating: 4.90/5    Votes: 3   Popularity: 2.34
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
This blog post details a simple metro-in-motion behaviour which reduces the Panorama control’s contents while the user slides from item-to-item so that they can really appreciate your fancy background graphic!
Metro In Motion #8 – AutoCompleteBox Reveal Animation [Technical Blog]
Posted: 19 Jul 2011   Updated: 19 Jul 2011   Views: 4,075   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
When I started the Metro In Motion series, I thought I would probably post three or four articles and be done. However, every time I use my Windows Phone 7 I seem to spot a new ‘native’ fluid UI effect which I would like to use in my own code. Also, these posts have proven [...]
TweetSearch – A Cross platform Metro UI WinRT and Silverlight Application [Technical Blog]
Posted: 16 Sep 2011   Updated: 16 Sep 2011   Views: 13,313   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
With the Windows 8 preview release earlier this week, developers are now faced with a whole new and exciting Microsoft stack. The Windows 8 architecture has something of a split-personality, incorporating a completely new runtime, WinRT together with the older Win32 and .NET framework. However, thes
WinRT Transitions – Creating Fast and Fluid Metro UIs [Technical Blog]
Posted: 17 Oct 2011   Updated: 17 Oct 2011   Views: 24,690   Rating: 5.00/5    Votes: 7   Popularity: 4.23
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
This blog post looks at the new concept of ‘transitions’ that WinRT, within Windows 8, introduces. This concept makes it very easy for you to create a fluid and interactive UI without going anywhere near storyboards! I have to admit it, I am a big fan of the Metro Design Language; the cl

Code Generation

ViewModel INotifyPropertyChanged Code Generation [Technical Blog]
Posted: 13 May 2011   Updated: 14 May 2011   Views: 9,701   Rating: 4.94/5    Votes: 3   Popularity: 2.36
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
This blog post describes a novel method of generating boiler-plate MVVM code using codesnippet automation.

Uncategorised Technical Blogs

Integrating Knockout and jQueryMobile [Technical Blog]
Posted: 23 Oct 2012   Updated: 23 Oct 2012   Views: 4,487   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
This blog post looks at the issues regarding integration of KnockoutJS and jQueryMobile, and provides a simple worked example – a Twitter Search application – where the two technologies play nicely together! The code for this blog post can be found on github. You can also try it out on y

Reviews on Third Party Products and Tools

Adding Error Bars to Visiblox Silverlight Charts [Technical Blog]
Posted: 1 Nov 2011   Updated: 1 Nov 2011   Views: 1,925   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
In this blog post I will show how to implement a custom Visiblox chart series to render error bars.

Third Party Products and Tools

Comparing KendoUI and Knockout (with a bit of jQueryMobile on the side) [Technical Blog]
Posted: 8 Apr 2013   Updated: 8 Apr 2013   Views: 1,318   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
I’ve always been a big fan of Knockout, most likely because it reminds me of Silverlight (rest in peace). For my thoughts on how Silverlight and Knockout compare, head over to codeproject where I wrote quite a lengthy article on the subject. More recently I have been dabbling with the use of Kn
No tips have been posted.

Colin Eberhardt
Architect Scott Logic
United Kingdom United Kingdom
Member
I am CTO at ShinobiControls, a team of iOS developers who are carefully crafting iOS charts, grids and controls for making your applications awesome.
 
I am a Technical Architect for Visiblox which have developed the world's fastest WPF / Silverlight and WP7 charts.
 
I am also a Technical Evangelist at Scott Logic, a provider of bespoke financial software and consultancy for the retail and investment banking, stockbroking, asset management and hedge fund communities.
 
Visit my blog - Colin Eberhardt's Adventures in .NET.
 
Follow me on Twitter - @ColinEberhardt
 
-


Advertise | Privacy | Mobile
Web02 | 2.6.130516.1 | Last Updated 20 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid