You have already posted a question to the author of that article so you may get more details there.
Have you followed the links that he has given to the algorithms used? The underlying principles should apply regardless of your presentation layer.
Regarding "conversion" from WinForms to WPF you might find this
post[
^] useful