Click here to Skip to main content

Articles by Josh Smith (Articles: 59)

Articles: 59

RSS Feed

Average article rating: 4.82

Miscellaneous

A marquee control in C#
Posted: 19 Feb 2003   Updated: 19 Feb 2003   Views: 117,855   Rating: 3.38/5    Votes: 17   Popularity: 4.16
Licence: The Code Project Open License (CPOL)      Bookmarked: 36   Downloaded: 2,204
A marquee control written in C#

Tree Controls

TreeViewWalker - Simplifying Recursion
Posted: 4 Feb 2006   Updated: 20 Feb 2006   Views: 100,021   Rating: 4.89/5    Votes: 28   Popularity: 7.08
Licence: The Code Project Open License (CPOL)      Bookmarked: 90   Downloaded: 426
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: 37,617   Rating: 3.47/5    Votes: 7   Popularity: 2.93
Licence: Not specified      Bookmarked: 22   Downloaded: 431
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: 83,706   Rating: 5.00/5    Votes: 42   Popularity: 8.12
Licence: The Code Project Open License (CPOL)      Bookmarked: 144   Downloaded: 552
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: 62,195   Rating: 4.90/5    Votes: 20   Popularity: 6.38
Licence: Not specified      Bookmarked: 49   Downloaded: 676
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: 114,331   Rating: 4.98/5    Votes: 49   Popularity: 8.41
Licence: The Code Project Open License (CPOL)      Bookmarked: 113   Downloaded: 4,471
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: 158,853   Rating: 4.87/5    Votes: 32   Popularity: 7.32
Licence: The Code Project Open License (CPOL)      Bookmarked: 162   Downloaded: 1,870
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: 221,019   Rating: 4.97/5    Votes: 72   Popularity: 9.22
Licence: The Code Project Open License (CPOL)      Bookmarked: 218   Downloaded: 4,290
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: 274,844   Rating: 4.85/5    Votes: 42   Popularity: 7.87
Licence: The Code Project Open License (CPOL)      Bookmarked: 170   Downloaded: 3,700
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: 263,630   Rating: 4.96/5    Votes: 66   Popularity: 9.03
Licence: The Code Project Open License (CPOL)      Bookmarked: 215   Downloaded: 3,515
Reviews an advanced layout customization for the WPF TreeView.
Spelling Suggestions in a WPF TextBox
Posted: 19 Feb 2007   Updated: 25 Feb 2007   Views: 70,395   Rating: 4.85/5    Votes: 18   Popularity: 6.09
Licence: The Code Project Open License (CPOL)      Bookmarked: 74   Downloaded: 551
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: 330,467   Rating: 4.89/5    Votes: 57   Popularity: 8.58
Licence: The Code Project Open License (CPOL)      Bookmarked: 172   Downloaded: 4,275
Discusses automated drag-and-drop in the WPF ListView.
Highlighting Items in a WPF ListView
Posted: 28 Apr 2007   Updated: 28 Apr 2007   Views: 168,755   Rating: 4.93/5    Votes: 26   Popularity: 6.97
Licence: The Code Project Open License (CPOL)      Bookmarked: 83   Downloaded: 2,325
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: 181,616   Rating: 4.85/5    Votes: 51   Popularity: 8.28
Licence: The Code Project Open License (CPOL)      Bookmarked: 93   Downloaded: 3,866
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: 108,156   Rating: 4.91/5    Votes: 54   Popularity: 8.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 139   Downloaded: 3,849
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: 79,995   Rating: 4.95/5    Votes: 56   Popularity: 8.65
Licence: The Code Project Open License (CPOL)      Bookmarked: 141   Downloaded: 818
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: 279,649   Rating: 4.58/5    Votes: 77   Popularity: 8.64
Licence: The Code Project Open License (CPOL)      Bookmarked: 177   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: 88,063   Rating: 5.00/5    Votes: 26   Popularity: 7.07
Licence: The Code Project Open License (CPOL)      Bookmarked: 50   Downloaded: 349
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: 138,722   Rating: 4.92/5    Votes: 64   Popularity: 8.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 95   Downloaded: 1,102
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: 714,184   Rating: 4.98/5    Votes: 251   Popularity: 11.94
Licence: The Code Project Open License (CPOL)      Bookmarked: 509   Downloaded: 13,131
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: 40,837   Rating: 4.96/5    Votes: 24   Popularity: 6.85
Licence: The Code Project Open License (CPOL)      Bookmarked: 24   Downloaded: 236
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: 57,231   Rating: 4.76/5    Votes: 21   Popularity: 6.30
Licence: The Code Project Open License (CPOL)      Bookmarked: 39   Downloaded: 221
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: 244,690   Rating: 4.97/5    Votes: 64   Popularity: 8.98
Licence: The Code Project Open License (CPOL)      Bookmarked: 147   Downloaded: 3,044
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: 81,340   Rating: 4.95/5    Votes: 24   Popularity: 6.83
Licence: The Code Project Open License (CPOL)      Bookmarked: 60   Downloaded: 1,737
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: 82,523   Rating: 4.83/5    Votes: 27   Popularity: 6.92
Licence: The Code Project Open License (CPOL)      Bookmarked: 57   Downloaded: 1,104
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: 99,724   Rating: 4.86/5    Votes: 32   Popularity: 7.30
Licence: The Code Project Open License (CPOL)      Bookmarked: 50   Downloaded: 613
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: 47,517   Rating: 5.00/5    Votes: 13   Popularity: 5.57
Licence: The Code Project Open License (CPOL)      Bookmarked: 34   Downloaded: 340
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: 105,888   Rating: 4.93/5    Votes: 53   Popularity: 8.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 115   Downloaded: 308
An introspective journey of solving problems using WPF
Smart Routed Commands in WPF
Posted: 3 Nov 2007   Updated: 3 Nov 2007   Views: 36,887   Rating: 4.65/5    Votes: 23   Popularity: 6.33
Licence: The Code Project Open License (CPOL)      Bookmarked: 46   Downloaded: 161
Giving routed commands default execution logic
Understanding the Visual Tree and Logical Tree in WPF
Posted: 29 Nov 2007   Updated: 5 Dec 2007   Views: 92,942   Rating: 4.91/5    Votes: 33   Popularity: 7.45
Licence: The Code Project Open License (CPOL)      Bookmarked: 69   Downloaded: 740
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: 38,438   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: 103,523   Rating: 4.90/5    Votes: 48   Popularity: 8.24
Licence: The Code Project Open License (CPOL)      Bookmarked: 85   Downloaded: 778
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: 82,824   Rating: 4.75/5    Votes: 22   Popularity: 6.37
Licence: The Code Project Open License (CPOL)      Bookmarked: 105   Downloaded: 980
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: 182,802   Rating: 4.98/5    Votes: 59   Popularity: 8.82
Licence: The Code Project Open License (CPOL)      Bookmarked: 182   Downloaded: 928
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: 107,493   Rating: 4.96/5    Votes: 55   Popularity: 8.63
Licence: The Code Project Open License (CPOL)      Bookmarked: 147   Downloaded: 2,724
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: 34,802   Rating: 4.77/5    Votes: 18   Popularity: 5.99
Licence: The Code Project Open License (CPOL)      Bookmarked: 30   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: 103,317   Rating: 4.84/5    Votes: 41   Popularity: 7.81
Licence: The Code Project Open License (CPOL)      Bookmarked: 160   Downloaded: 1,550
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: 39,986   Rating: 4.94/5    Votes: 23   Popularity: 6.73
Licence: The Code Project Open License (CPOL)      Bookmarked: 39   Downloaded: 210
Introduces a generic technique of chaining commands together.
Visualizing a Binary Rule System with WPF
Posted: 1 Jun 2008   Updated: 1 Jun 2008   Views: 23,767   Rating: 4.42/5    Votes: 16   Popularity: 5.33
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 29
A fun excursion into using WPF to visualize a simple numeric rule system.
WPF.JoshSmith
Posted: 11 Nov 2006   Updated: 13 Jul 2008   Views: 206,012   Rating: 4.99/5    Votes: 41   Popularity: 8.04
Licence: The Code Project Open License (CPOL)      Bookmarked: 239   Downloaded: 1,700
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: 165,959   Rating: 4.96/5    Votes: 46   Popularity: 8.25
Licence: The Code Project Open License (CPOL)      Bookmarked: 115   Downloaded: 1,061
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: 176,468   Rating: 4.93/5    Votes: 59   Popularity: 8.73
Licence: The Code Project Open License (CPOL)      Bookmarked: 142   Downloaded: 1,981
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: 45,254   Rating: 4.98/5    Votes: 29   Popularity: 7.29
Licence: The Code Project Open License (CPOL)      Bookmarked: 63   Downloaded: 105
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: 47,778   Rating: 4.99/5    Votes: 41   Popularity: 8.05
Licence: The Code Project Open License (CPOL)      Bookmarked: 101   Downloaded: 773
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: 46,805   Rating: 4.95/5    Votes: 33   Popularity: 7.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 57   Downloaded: 511
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: 141,256   Rating: 4.88/5    Votes: 60   Popularity: 8.68
Licence: The Code Project Open License (CPOL)      Bookmarked: 159   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: 167,544   Rating: 4.98/5    Votes: 39   Popularity: 7.93
Licence: The Code Project Open License (CPOL)      Bookmarked: 78   Downloaded: 4,905
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: 121,473   Rating: 4.82/5    Votes: 73   Popularity: 8.98
Licence: The Code Project Open License (CPOL)      Bookmarked: 113   Downloaded: 3,014
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: 213,192   Rating: 4.92/5    Votes: 72   Popularity: 9.14
Licence: The Code Project Open License (CPOL)      Bookmarked: 180   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: 167,861   Rating: 4.98/5    Votes: 65   Popularity: 9.02
Licence: The Code Project Open License (CPOL)      Bookmarked: 281   Downloaded: 3,968
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: 215,888   Rating: 4.85/5    Votes: 72   Popularity: 9.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 171   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: 65,357   Rating: 4.84/5    Votes: 22   Popularity: 6.50
Licence: The Code Project Open License (CPOL)      Bookmarked: 42   Downloaded: 286
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: 102,467   Rating: 4.84/5    Votes: 34   Popularity: 7.42
Licence: The Code Project Open License (CPOL)      Bookmarked: 71   Downloaded: 384
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: 64,814   Rating: 4.77/5    Votes: 30   Popularity: 7.05
Licence: The Code Project Open License (CPOL)      Bookmarked: 43   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: 405,162   Rating: 4.78/5    Votes: 125   Popularity: 10.03
Licence: The Code Project Open License (CPOL)      Bookmarked: 625   Downloaded: 10,933
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: 109,298   Rating: 4.62/5    Votes: 15   Popularity: 5.43
Licence: The Code Project Open License (CPOL)      Bookmarked: 94   Downloaded: 1,296
Reviews how to implement dynamic user interfaces in WPF.

Windows Workflow Foundation

Hello, WF!
Posted: 12 Nov 2006   Updated: 12 Nov 2006   Views: 118,925   Rating: 4.53/5    Votes: 43   Popularity: 7.39
Licence: Not specified      Bookmarked: 97   Downloaded: 484
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: 84,252   Rating: 4.67/5    Votes: 25   Popularity: 6.52
Licence: The Code Project Open License (CPOL)      Bookmarked: 73   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: 254,856   Rating: 4.97/5    Votes: 81   Popularity: 9.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 345   Downloaded: 2,492
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
No blogs have been submitted.
No video articles have been posted.
No tips have been posted.

Josh Smith

Technical Lead
Cynergy Systems
United States United States

Member

Follow on Twitter Follow on Twitter
Josh creates software, for iOS and Windows.
 
He works at Cynergy Systems as a Technical Lead.
 
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[^].


Advertise | Privacy | Mobile
Beta | 2.5.120516.1 | Last Updated 16 May 2012
Copyright © CodeProject, 1999-2012
All Rights Reserved. Terms of Use
Layout: fixed | fluid