Click here to Skip to main content

Articles by Josh Smith (Articles: 59)

Articles: 59

RSS Feed

Average article rating: 4.83

Miscellaneous

A marquee control in C#
Posted: 19 Feb 2003   Updated: 19 Feb 2003   Views: 127,779   Rating: 3.38/5    Votes: 17   Popularity: 4.16
Licence: The Code Project Open License (CPOL)      Bookmarked: 39   Downloaded: 3,064
A marquee control written in C#

Tree Controls

TreeViewWalker - Simplifying Recursion
Posted: 4 Feb 2006   Updated: 20 Feb 2006   Views: 122,905   Rating: 4.90/5    Votes: 29   Popularity: 7.16
Licence: The Code Project Open License (CPOL)      Bookmarked: 94   Downloaded: 710
A utility class which makes it easier to create recursive methods that operate on the TreeView control.

Trace and Logs

Write Debug/Trace Information to XML
Posted: 6 Apr 2005   Updated: 6 Apr 2005   Views: 41,292   Rating: 3.47/5    Votes: 7   Popularity: 2.93
Licence: Not specified      Bookmarked: 22   Downloaded: 504
An article which demonstrates how to direct trace/debug information to an XML file.

GDI+

Fluid Geometry - An Animation Library and Configuration Application
Posted: 13 Sep 2005   Updated: 9 May 2012   Views: 94,501   Rating: 5.00/5    Votes: 42   Popularity: 8.12
Licence: The Code Project Open License (CPOL)      Bookmarked: 151   Downloaded: 1,014
A task-oriented review of an animation library and the application which uses it.

XML

Enumerate over XML data in a foreach loop
Posted: 5 Oct 2004   Updated: 11 Jan 2005   Views: 67,966   Rating: 4.90/5    Votes: 20   Popularity: 6.38
Licence: Not specified      Bookmarked: 50   Downloaded: 740
An article which shows how to enumerate over XML data in a foreach loop as if the data were in a collection.

.NET Framework

Extracting Embedded Images From An Assembly
Posted: 25 Mar 2006   Updated: 3 Apr 2006   Views: 141,016   Rating: 4.98/5    Votes: 51   Popularity: 8.50
Licence: The Code Project Open License (CPOL)      Bookmarked: 117   Downloaded: 7,165
A tool which allows you to view, save, and copy an image embedded in any assembly.

Windows Presentation Foundation

Annotating an Image in WPF
Posted: 12 Sep 2007   Updated: 12 Sep 2007   Views: 178,081   Rating: 4.87/5    Votes: 36   Popularity: 7.58
Licence: The Code Project Open License (CPOL)      Bookmarked: 172   Downloaded: 2,861
Demonstrates how to add text annotations to an Image element
Creating an Internationalized Wizard in WPF
Posted: 17 Dec 2008   Updated: 17 Dec 2008   Views: 287,087   Rating: 4.96/5    Votes: 75   Popularity: 9.30
Licence: The Code Project Open License (CPOL)      Bookmarked: 239   Downloaded: 7,754
Reviews a localizable WPF Wizard user interface written in both C# and VB.NET.
Custom TreeView Layout in WPF
Posted: 5 Jan 2007   Updated: 24 Jan 2007   Views: 333,015   Rating: 4.86/5    Votes: 43   Popularity: 7.93
Licence: The Code Project Open License (CPOL)      Bookmarked: 189   Downloaded: 5,821
Shows how to turn a TreeView into an Org Chart.
Advanced Custom TreeView Layout in WPF
Posted: 28 Jan 2007   Updated: 29 Jan 2007   Views: 300,675   Rating: 4.96/5    Votes: 66   Popularity: 9.03
Licence: The Code Project Open License (CPOL)      Bookmarked: 234   Downloaded: 4,986
Reviews an advanced layout customization for the WPF TreeView.
Spelling Suggestions in a WPF TextBox
Posted: 19 Feb 2007   Updated: 25 Feb 2007   Views: 79,218   Rating: 4.85/5    Votes: 18   Popularity: 6.09
Licence: The Code Project Open License (CPOL)      Bookmarked: 77   Downloaded: 851
Examines an intuitive way to correct typos in a TextBox.
Drag and Drop Items in a WPF ListView
Posted: 21 Jan 2007   Updated: 13 Apr 2007   Views: 475,097   Rating: 4.89/5    Votes: 61   Popularity: 8.74
Licence: The Code Project Open License (CPOL)      Bookmarked: 191   Downloaded: 7,231
Discusses automated drag-and-drop in the WPF ListView.
Highlighting Items in a WPF ListView
Posted: 28 Apr 2007   Updated: 28 Apr 2007   Views: 195,999   Rating: 4.91/5    Votes: 28   Popularity: 7.14
Licence: The Code Project Open License (CPOL)      Bookmarked: 86   Downloaded: 3,440
A step-by-step review of how to conditionally highlight ListViewItems.
Working with Checkboxes in the WPF TreeView
Posted: 1 Aug 2008   Updated: 1 Aug 2008   Views: 240,117   Rating: 4.86/5    Votes: 60   Popularity: 8.63
Licence: The Code Project Open License (CPOL)      Bookmarked: 105   Downloaded: 7,213
Examines how to create a tree of checkboxes that intelligently update their own check state and are easy to navigate with the keyboard
Rotating WPF Content in 3D Space
Posted: 22 Mar 2009   Updated: 22 Mar 2009   Views: 144,530   Rating: 4.90/5    Votes: 57   Popularity: 8.61
Licence: The Code Project Open License (CPOL)      Bookmarked: 152   Downloaded: 6,928
Introducing ContentControl3D: a control that makes it easy to incorporate 3D flips into any WPF user interface.
Displaying a Data Matrix in WPF
Posted: 14 Jun 2009   Updated: 14 Jun 2009   Views: 107,607   Rating: 4.95/5    Votes: 58   Popularity: 8.73
Licence: The Code Project Open License (CPOL)      Bookmarked: 146   Downloaded: 1,513
Reviews a matrix control that can be data bound and visually styled with ease
A Guided Tour of WPF – Part 3 (Data binding)
Posted: 3 Apr 2007   Updated: 4 Apr 2007   Views: 334,768   Rating: 4.60/5    Votes: 83   Popularity: 8.83
Licence: The Code Project Open License (CPOL)      Bookmarked: 208   Downloaded: 0
A guided tour of the Windows Presentation Foundation, one feature at a time.
Attaching a Virtual Branch to the Logical Tree in WPF
Posted: 6 May 2007   Updated: 6 May 2007   Views: 114,285   Rating: 5.00/5    Votes: 26   Popularity: 7.07
Licence: The Code Project Open License (CPOL)      Bookmarked: 57   Downloaded: 541
Reviews a pattern which enables new possibilities for data binding.
Moving Toward WPF Data Binding One Step at a Time
Posted: 19 May 2008   Updated: 19 May 2008   Views: 178,977   Rating: 4.91/5    Votes: 78   Popularity: 9.29
Licence: The Code Project Open License (CPOL)      Bookmarked: 107   Downloaded: 2,045
A gradual introduction to the world of WPF data binding.
Simplifying the WPF TreeView by Using the ViewModel Pattern
Posted: 22 May 2008   Updated: 22 May 2008   Views: 1,048,031   Rating: 4.98/5    Votes: 278   Popularity: 12.17
Licence: The Code Project Open License (CPOL)      Bookmarked: 591   Downloaded: 24,754
Reviews how using a ViewModel can abstract away the complexities of the WPF TreeView control.
Artificial Inheritance Contexts in WPF
Posted: 2 Jul 2008   Updated: 2 Jul 2008   Views: 52,016   Rating: 4.96/5    Votes: 24   Popularity: 6.85
Licence: The Code Project Open License (CPOL)      Bookmarked: 27   Downloaded: 468
Reviews and compares three techniques that enable you to data bind to any element tree.
Selecting the Detail Level to View at Runtime in WPF
Posted: 5 Jul 2008   Updated: 5 Jul 2008   Views: 65,630   Rating: 4.76/5    Votes: 21   Popularity: 6.30
Licence: The Code Project Open License (CPOL)      Bookmarked: 42   Downloaded: 331
Explains how to allow users to select the amount of information to view
Dragging Elements in a Canvas
Posted: 27 Aug 2006   Updated: 2 Sep 2006   Views: 380,888   Rating: 4.98/5    Votes: 71   Popularity: 9.21
Licence: The Code Project Open License (CPOL)      Bookmarked: 165   Downloaded: 5,672
Discusses a class which provides automated dragging of elements in a WPF Canvas.
SlidingListBox – Animating ListBoxItems in WPF
Posted: 19 Oct 2006   Updated: 19 Oct 2006   Views: 90,697   Rating: 4.95/5    Votes: 24   Popularity: 6.83
Licence: The Code Project Open License (CPOL)      Bookmarked: 68   Downloaded: 2,760
A ListBox which slides its items when they are selected and deselected.
Regex Validation in WPF
Posted: 17 Sep 2006   Updated: 2 Nov 2006   Views: 97,094   Rating: 4.83/5    Votes: 28   Popularity: 6.99
Licence: The Code Project Open License (CPOL)      Bookmarked: 63   Downloaded: 1,825
Demonstrates how to perform input validation using regular expressions, in a Windows Presentation Foundation application.
Piping Value Converters in WPF
Posted: 5 Aug 2006   Updated: 14 Nov 2006   Views: 120,614   Rating: 4.87/5    Votes: 37   Popularity: 7.63
Licence: The Code Project Open License (CPOL)      Bookmarked: 61   Downloaded: 1,089
Demonstrates how to chain together value converters used in WPF data binding.
How to Test a Class Which Uses DispatcherTimer
Posted: 14 Jul 2007   Updated: 14 Jul 2007   Views: 56,194   Rating: 5.00/5    Votes: 15   Popularity: 5.88
Licence: The Code Project Open License (CPOL)      Bookmarked: 37   Downloaded: 563
Demonstrates how to create unit tests for a class which uses a DispatcherTimer.
The WPF Thought Process
Posted: 13 Oct 2007   Updated: 13 Oct 2007   Views: 123,712   Rating: 4.93/5    Votes: 54   Popularity: 8.55
Licence: The Code Project Open License (CPOL)      Bookmarked: 121   Downloaded: 475
An introspective journey of solving problems using WPF
Smart Routed Commands in WPF
Posted: 3 Nov 2007   Updated: 3 Nov 2007   Views: 42,165   Rating: 4.65/5    Votes: 23   Popularity: 6.33
Licence: The Code Project Open License (CPOL)      Bookmarked: 48   Downloaded: 236
Giving routed commands default execution logic
Understanding the Visual Tree and Logical Tree in WPF
Posted: 29 Nov 2007   Updated: 5 Dec 2007   Views: 128,151   Rating: 4.90/5    Votes: 41   Popularity: 7.91
Licence: The Code Project Open License (CPOL)      Bookmarked: 82   Downloaded: 1,526
A detailed examination of the WPF element trees and their subtleties
Mole II Black Ops - Multifunction Visual Studio Visualizer For WPF - View Public, Private and Protected Data
Posted: 11 Dec 2007   Updated: 17 Dec 2007   Views: 43,647   Rating: 4.76/5    Votes: 14   Popularity: 5.46
Licence: The Code Project Open License (CPOL)      Bookmarked: 32   Downloaded: 4
A high octane multifunction visualizer that allows detailed inspection of the visual tree and logical trees. New feature of Mole II Black Ops allows viewing and drilling into non-public members of any element or sub-element in the visual or logical trees.
Woodstock for WPF
Posted: 12 Nov 2007   Updated: 31 Dec 2007   Views: 119,107   Rating: 4.90/5    Votes: 48   Popularity: 8.24
Licence: The Code Project Open License (CPOL)      Bookmarked: 88   Downloaded: 1,124
A debugger visualizer which allows you to inspect the visual tree.
The WPF Podcatcher Series - Part 1 (Introducing Podder)
Posted: 6 Jan 2008   Updated: 6 Jan 2008   Views: 95,261   Rating: 4.75/5    Votes: 22   Popularity: 6.37
Licence: The Code Project Open License (CPOL)      Bookmarked: 111   Downloaded: 1,336
The first article in a series devoted to a WPF application that plays streaming podcasts off the Internet.
Using MVC to Unit Test WPF Applications
Posted: 27 Jan 2008   Updated: 27 Jan 2008   Views: 206,383   Rating: 4.98/5    Votes: 62   Popularity: 8.93
Licence: The Code Project Open License (CPOL)      Bookmarked: 189   Downloaded: 1,461
Provides guidance for using the Model-View-Controller design pattern to create modular WPF apps that are easy to unit test
The WPF Podcatcher Series - Part 2 (Structural Skinning)
Posted: 5 Mar 2008   Updated: 5 Mar 2008   Views: 130,976   Rating: 4.96/5    Votes: 55   Popularity: 8.63
Licence: The Code Project Open License (CPOL)      Bookmarked: 151   Downloaded: 4,489
The second article in a series devoted to a WPF application that plays streaming audio podcasts off the Internet. This article discusses the idea and implementation of look-less applications.
The WPF Podcatcher Series – Part 3 (The Podcast Management Conundrum)
Posted: 20 Mar 2008   Updated: 20 Mar 2008   Views: 38,634   Rating: 4.77/5    Votes: 18   Popularity: 5.99
Licence: The Code Project Open License (CPOL)      Bookmarked: 31   Downloaded: 0
The third article in a series devoted to a WPF application that plays streaming audio podcasts off the Internet. This article discusses the solution to a problem related to structural skinning.
Creating the Same Program in Windows Forms and WPF
Posted: 3 May 2008   Updated: 3 May 2008   Views: 133,383   Rating: 4.82/5    Votes: 45   Popularity: 7.97
Licence: The Code Project Open License (CPOL)      Bookmarked: 173   Downloaded: 3,186
Shows how to write the same simple program in Windows Forms and WPF.
Aggregating WPF Commands with CommandGroup
Posted: 4 May 2008   Updated: 4 May 2008   Views: 49,024   Rating: 4.95/5    Votes: 24   Popularity: 6.82
Licence: The Code Project Open License (CPOL)      Bookmarked: 45   Downloaded: 401
Introduces a generic technique of chaining commands together.
Visualizing a Binary Rule System with WPF
Posted: 1 Jun 2008   Updated: 1 Jun 2008   Views: 27,381   Rating: 4.42/5    Votes: 16   Popularity: 5.33
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 53
A fun excursion into using WPF to visualize a simple numeric rule system.
WPF.JoshSmith
Posted: 11 Nov 2006   Updated: 13 Jul 2008   Views: 241,881   Rating: 4.99/5    Votes: 41   Popularity: 8.04
Licence: The Code Project Open License (CPOL)      Bookmarked: 249   Downloaded: 2,895
A free library of controls and utility classes for use in WPF applications.
Using RoutedCommands with a ViewModel in WPF
Posted: 24 Jul 2008   Updated: 24 Jul 2008   Views: 228,714   Rating: 4.95/5    Votes: 48   Popularity: 8.32
Licence: The Code Project Open License (CPOL)      Bookmarked: 127   Downloaded: 1,897
Reviews a clean and lightweight way to use RoutedCommands in the MVVM pattern.
Introduction to Attached Behaviors in WPF
Posted: 30 Aug 2008   Updated: 30 Aug 2008   Views: 240,756   Rating: 4.94/5    Votes: 64   Popularity: 8.91
Licence: The Code Project Open License (CPOL)      Bookmarked: 171   Downloaded: 3,803
Explains the concept of attached behaviors and shows how to use them in the context of the MVVM pattern.
From Russia with Love – Retrieving ViewModel Objects from a Model Assembly
Posted: 7 Sep 2009   Updated: 7 Sep 2009   Views: 56,289   Rating: 4.98/5    Votes: 31   Popularity: 7.43
Licence: The Code Project Open License (CPOL)      Bookmarked: 65   Downloaded: 178
Reviews the “From Russia with Love” technique of simplifying the creation of ViewModel objects from other libraries, without compromising your MVVM architecture
Using WPF to Visualize a Graph with Circular Dependencies
Posted: 15 Nov 2009   Updated: 15 Nov 2009   Views: 61,067   Rating: 4.99/5    Votes: 42   Popularity: 8.10
Licence: The Code Project Open License (CPOL)      Bookmarked: 117   Downloaded: 1,490
Reviews a WPF application that displays an object graph which can be rearranged by the user at runtime, and highlights circular dependencies in its nodes.
Using a Service Locator to Work with MessageBoxes in an MVVM Application
Posted: 1 Apr 2010   Updated: 5 Apr 2010   Views: 62,583   Rating: 4.95/5    Votes: 35   Popularity: 7.64
Licence: The Code Project Open License (CPOL)      Bookmarked: 68   Downloaded: 1,086
Reviews a simple and testable way to show a MessageBox in any WPF or Silverlight application built with the MVVM design pattern
A Guided Tour of WPF – Part 2 (Layout)
Posted: 2 Apr 2007   Updated: 4 Apr 2007   Views: 163,403   Rating: 4.89/5    Votes: 70   Popularity: 9.02
Licence: The Code Project Open License (CPOL)      Bookmarked: 175   Downloaded: 0
A guided tour of the Windows Presentation Foundation, one feature at a time.
Custom ListBox Layout in WPF
Posted: 25 Apr 2007   Updated: 26 Apr 2007   Views: 218,246   Rating: 4.98/5    Votes: 44   Popularity: 8.19
Licence: The Code Project Open License (CPOL)      Bookmarked: 91   Downloaded: 6,974
A step-by-step review of how to customize the arrangement of items in a ListBox.
Animating Interactive 2D Elements in a 3D Panel
Posted: 7 Apr 2008   Updated: 20 May 2008   Views: 143,560   Rating: 4.84/5    Votes: 76   Popularity: 9.09
Licence: The Code Project Open License (CPOL)      Bookmarked: 122   Downloaded: 4,994
Explores Panel3D, a custom WPF panel that displays its children in 3D space
A Guided Tour of WPF – Part 5 (Styles)
Posted: 12 Apr 2007   Updated: 13 Apr 2007   Views: 271,651   Rating: 4.93/5    Votes: 79   Popularity: 9.34
Licence: The Code Project Open License (CPOL)      Bookmarked: 204   Downloaded: 0
A guided tour of the Windows Presentation Foundation, one feature at a time.
Creating a Skinned User Interface in WPF
Posted: 27 Jul 2007   Updated: 27 Jul 2007   Views: 199,618   Rating: 4.98/5    Votes: 68   Popularity: 9.12
Licence: The Code Project Open License (CPOL)      Bookmarked: 297   Downloaded: 6,524
Reviews the basics of creating a WPF user interface with various visual styles.
A Guided Tour of WPF – Part 4 (Data templates and triggers)
Posted: 6 Apr 2007   Updated: 7 Apr 2007   Views: 277,359   Rating: 4.85/5    Votes: 81   Popularity: 9.26
Licence: The Code Project Open License (CPOL)      Bookmarked: 192   Downloaded: 0
A guided tour of the Windows Presentation Foundation, one feature at a time.
Routed Template Selection in WPF
Posted: 13 May 2007   Updated: 13 May 2007   Views: 73,984   Rating: 4.84/5    Votes: 22   Popularity: 6.50
Licence: The Code Project Open License (CPOL)      Bookmarked: 45   Downloaded: 447
Examines a powerful technique for implementing DataTemplate selection logic.
Mole for WPF - Multifunction Visual Studio Visualizer for WPF
Posted: 26 Nov 2007   Updated: 31 Dec 2007   Views: 118,680   Rating: 4.84/5    Votes: 34   Popularity: 7.42
Licence: The Code Project Open License (CPOL)      Bookmarked: 76   Downloaded: 465
A multifunction visualizer that allows inspection of the visual tree. For each element in the visual tree, the developer can view all properties, visual images, run-time XAML, and can drill through to property collections to view their values.
Mole II for WPF
Posted: 5 Dec 2007   Updated: 31 Dec 2007   Views: 74,947   Rating: 4.77/5    Votes: 30   Popularity: 7.05
Licence: The Code Project Open License (CPOL)      Bookmarked: 46   Downloaded: 6
Introduces the second version of a very useful and educational debugger visualizer for WPF developers.
A Guided Tour of WPF – Part 1 (XAML)
Posted: 31 Mar 2007   Updated: 19 Apr 2007   Views: 478,668   Rating: 4.79/5    Votes: 143   Popularity: 10.33
Licence: The Code Project Open License (CPOL)      Bookmarked: 692   Downloaded: 19,628
A guided tour of the Windows Presentation Foundation, one feature at a time.
Dynamic User Interfaces in WPF
Posted: 8 Jun 2007   Updated: 8 Jun 2007   Views: 124,417   Rating: 4.62/5    Votes: 15   Popularity: 5.43
Licence: The Code Project Open License (CPOL)      Bookmarked: 102   Downloaded: 2,031
Reviews how to implement dynamic user interfaces in WPF.

Windows Workflow Foundation

Hello, WF!
Posted: 12 Nov 2006   Updated: 12 Nov 2006   Views: 128,182   Rating: 4.53/5    Votes: 43   Popularity: 7.39
Licence: Not specified      Bookmarked: 99   Downloaded: 585
Explains the very basics of Windows Workflow Foundation, using The World's Stupidest WF Application.

Macros and Add-ins

Mole For Visual Studio - Visualizer For All Project Types
Posted: 14 Dec 2007   Updated: 31 Dec 2007   Views: 100,889   Rating: 4.67/5    Votes: 25   Popularity: 6.52
Licence: The Code Project Open License (CPOL)      Bookmarked: 74   Downloaded: 26
A high performance, full featured, multifunction visualizer allows detailed inspection of WPF, WCF, ASP.NET, XBAP's and WinForm applications. This includes viewing and drilling into public, protected and non-public members of any element or sub-element in the application. Current Version 3.0.0.4
Mole For Visual Studio - With Editing - Visualize All Project Types
Posted: 31 Dec 2007   Updated: 29 Jan 2008   Views: 328,457   Rating: 4.97/5    Votes: 82   Popularity: 9.52
Licence: The Code Project Open License (CPOL)      Bookmarked: 355   Downloaded: 3,507
New Silverlight Movies For Mole. Mole v4.2 has GREAT new features! Visualizer with property editing. Mole is a high performance, full featured, multifunction visualizer that allows detailed inspection of WPF, WCF, WF, ASP.NET, XBAP's and WinForm applications. Editing of properties is now support

Product Showcase

Debugging Made Easier with Mole 2010
Posted: 9 Mar 2011   Updated: 9 Mar 2011   Views: 12,789   Rating: 5.00/5    Votes: 10   Popularity: 5.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
Mole is a debugger visualizer that runs in Visual Studio while you are debugging .NET applications. Mole makes debugging easier because it provides a comprehensive view into all of your application’s data objects
No blogs have been submitted.
No tips have been posted.

Josh Smith
Software Developer (Senior) Cynergy Systems
United States United States
Josh creates software, for iOS and Windows.
 
He works at Cynergy Systems as a Senior Experience Developer.
 
Read his iOS Programming for .NET Developers[^] book to learn how to write iPhone and iPad apps by leveraging your existing .NET skills.
 
Use his Master WPF[^] app on your iPhone to sharpen your WPF skills on the go.
 
Check out his Advanced MVVM[^] book.
 
Visit his WPF blog[^] or stop by his iOS blog[^].
Follow on   Twitter


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