Click here to Skip to main content
15,066,928 members

Articles by Leif Simon Goodwin (Articles: 11, Tip/Tricks: 3)

Articles: 11, Tip/Tricks: 3

RSS Feed

Average article rating: 4.93

Desktop Programming
Windows Forms
Posted: 19 Feb 2021   Updated: 19 Feb 2021   Views: 12,380   Rating: 5.00/5    Votes: 11   Popularity: 5.21
Licence: The Code Project Open License (CPOL)      Bookmarked: 13   Downloaded: 771
Please Sign up or sign in to vote.
A 3D surface plot control in C#
WPF
Posted: 24 Apr 2019   Updated: 24 Apr 2019   Views: 19,852   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   Downloaded: 1,431
Please Sign up or sign in to vote.
This article describes a simple slider button using dependency properties and a template.
Posted: 17 Mar 2017   Updated: 17 Mar 2017   Views: 57,730   Rating: 5.00/5    Votes: 16   Popularity: 5.88
Licence: The Code Project Open License (CPOL)      Bookmarked: 29   Downloaded: 4,937
Please Sign up or sign in to vote.
How to create a basic system tray app in C# and WPF
Posted: 30 Jan 2017   Updated: 31 Jan 2017   Views: 21,395   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 344
Please Sign up or sign in to vote.
This article presents an attached behaviour for the WPF DataGrid control which allows multiple columns to share the same width, and columns to shrink to fit their content.
Posted: 3 May 2019   Updated: 23 Aug 2019   Views: 27,452   Rating: 4.89/5    Votes: 45   Popularity: 7.99
Licence: The Code Project Open License (CPOL)      Bookmarked: 53   Downloaded: 2,192
Please Sign up or sign in to vote.
This article presents a highly configurable rotary dial control.
Posted: 9 May 2019   Updated: 21 Nov 2019   Views: 31,178   Rating: 5.00/5    Votes: 28   Popularity: 7.24
Licence: The Code Project Open License (CPOL)      Bookmarked: 45   Downloaded: 2,313
Please Sign up or sign in to vote.
This article presents a simple WPF Carousel Control
Posted: 30 Apr 2020   Updated: 30 Apr 2020   Views: 7,288   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 274
Please Sign up or sign in to vote.
WPF tab header control using two button controls and a modified listbox with list items arranged horizontally
Posted: 10 Dec 2020   Updated: 10 Dec 2020   Views: 6,383   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 205
Please Sign up or sign in to vote.
Simple WPF app that shows how to use PetaPoco library to manage an SQL database
Programming Languages
C#
Posted: 7 Jul 2017   Updated: 7 Jul 2017   Views: 57,019   Rating: 5.00/5    Votes: 26   Popularity: 7.07
Licence: The Code Project Open License (CPOL)      Bookmarked: 31   Downloaded: 890
Please Sign up or sign in to vote.
How to pass strings between managed and unmanaged code
C++
Posted: 14 Nov 2016   Updated: 24 Nov 2016   Views: 15,901   Rating: 4.71/5    Votes: 10   Popularity: 4.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 13   Downloaded: 0
Please Sign up or sign in to vote.
I have created two C++ template classes which allow a COM interface to be marshalled between threads with no fuss and no pain
XML
Posted: 21 Jun 2020   Updated: 21 Jun 2020   Views: 19,937   Rating: 4.67/5    Votes: 19   Popularity: 5.86
Licence: The Code Project Open License (CPOL)      Bookmarked: 22   Downloaded: 1,261
Please Sign up or sign in to vote.
WPF docking window manager library

Average blogs rating:

No blogs have been submitted.

Average tips rating: 4.54

Desktop Programming
WPF
Posted: 14 Sep 2017   Updated: 14 Sep 2017   Views: 36,920   Rating: 4.19/5    Votes: 5   Popularity: 2.93
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 649
Please Sign up or sign in to vote.
I present a short introduction to resource dictionaries with examples.
Programming Languages
C#
Posted: 10 May 2017   Updated: 10 May 2017   Views: 23,976   Rating: 4.91/5    Votes: 7   Popularity: 4.15
Licence: The Code Project Open License (CPOL)      Bookmarked: 19   Downloaded: 0
Please Sign up or sign in to vote.
This short article shows how to automatically detect when a given USB device is plugged in.
Posted: 25 Sep 2017   Updated: 2 Oct 2017   Views: 12,770   Rating: 4.52/5    Votes: 14   Popularity: 5.04
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 0
Please Sign up or sign in to vote.
I present a simple method to convert the elements in an enumeration into strings. This tip is suitable for enumerations whose elements are of the form RedAndBlack, which readily converts to "Red And Black".

Average reference rating:

No reference articles have been posted.

Average project rating:

No projects have been posted.

Leif Simon Goodwin
United Kingdom United Kingdom
C#/WPF/C++ Windows developer