Nathan Nesbit's Blog

Reusing ViewModels in a Universal App – Part 5

Wow, its been quite the journey but here we are finally at the end. To restate the previous articles...

Date: 08/28/2014

Reusing ViewModels in a Universal App – Part 4

To restate where part 3 ended – We have migrated all the buttons and TextBox to use the...

Date: 08/28/2014

Reusing ViewModels in a Universal App – Part 3

To restate where part 2 ended – We took the MyCalc app and created an empty ViewModel class....

Date: 08/21/2014

Reusing ViewModels in a Universal App – Part 2

To restate where part 1 ended - We have our Windows App, MyCalc, which currently has no ViewModel...

Date: 08/21/2014

Reusing ViewModels in a Universal App – Part 1

There is an increasing trend for Microsoft platforms to build what is called a “Universal...

Date: 08/20/2014

Detecting UI Thread Misuse

One of the challenges in building a UI application is correctly using the UI thread. This is a...

Date: 12/28/2010

Launching Dialog Windows in Managed MMC Snapins

Launching a child window inside MMC 3.0 from managed code isn’t easy. Different APIs are required...

Date: 12/22/2009

WPF ICommandSource Implementations Leak Memory!

Actually the title of this article should be entitled “How to use WeakEventManager with ICommand...

Date: 05/29/2009

WeakEventManager and IWeakEventListener

When my team first starting hitting “memory leaks” due to event handlers we investigated a variety...

Date: 05/28/2009

Creating Attached Properties And Services

One cool thing about DependencyProperties is the ability to have AttachedDependencyProperties (or...

Date: 05/27/2009

Performing Bulk Modifications To a Databound Collection

On a WinForms project in the past we were working on scalability and performance. One of the things...

Date: 05/27/2009

AddRange and ObservableCollection

The Issue Recently a friend asked a question about ObservableCollection. The question was how to do...

Date: 04/20/2009

Developing Reusable Controls with the Model-View-ViewModel Pattern

There have been several great blogs and articles about the Model-View-ViewModel pattern lately. I...

Date: 03/13/2009

Mouse vs Keyboard and ContextMenus

Recently I was asked to modify one of my controls so the user of the control could get the proper...

Date: 02/02/2009

Creating Adorner content in XAML

I've been working on a problem of having a "popup" control in my project. For various reasons the...

Date: 11/05/2008

ConvertingReadOnlyObservableCollection

In my project we always deal with live data - that is data from the Data Model may change at any...

Date: 11/03/2008