Downvoted a post? Want to let the author know why and how to fix? http://idownvotedbecau.se
Unless otherwise stated, all code in my answers is in a C#-like pseudocode
.NET developer and architect (C#, of course) for a moderate (Fortune 5000) software company in Columbia, SC. If you're wondering what I'm doing, check out my questions.
And now for some random stuff.
"Modraters are just monkeys who has guns in there hands"
this.DataContext = this; is the cancer of WPF MVVM. [This article explains why](http://blog.scottlogic.com/2012/02/06/a-simple-pattern-for-creating-re-useable-usercontrols-in-wpf-silverlight.html) You'll note it's kinda long, but so is chemo. Stop spreading this cancer. Stop poisoning WPF developer's minds with it.
UserControls should be designed for your models or your view models. You should NOT design a view model for your UserControl. Does a TextBox have a TextBoxViewModel? **No,** and there's a very good reason why. For a real life example of this anti-pattern and why it fails so hard read [this answer](https://stackoverflow.com/a/44729258/1228).
You think you know how this works?
[Downvote all the things](http://i.stack.imgur.com/YaeH4.jpg)
"No, it's not my penis, it's my hand, I swear. Now shake it."*
More cut and paste comments for your enjoyment
[Does this make you nervous?](http://i.stack.imgur.com/Mgqut.jpg) guaranteed to trigger your OCD
[Does this make you nervous?](https://vimeo.com/189919038) disappointing version
[Why you shouldn't be a best practice zombie](http://meta.stackexchange.com/a/142354/1228)
[Is that did you go to Trump?](https://i.stack.imgur.com/hbG1t.png)
[Best practice zombies](http://meta.stackexchange.com/a/142354/1228)
Member for 29 days
0 profile views
Last seen 7 hours ago
Top network posts
Keeping a low profile.
This user hasn't posted yet.