by David | Aug 24, 2016 | Development
Today (and most of my night) I’ve been stuck with trying to bind to an editable WPF combo box. It sounds stupid and it is, really. The scenario is this: You have an editable combo box to which you bind a list of view models. I specify a data template in order to...
by David | Aug 7, 2014 | Development
WPF often provides you with an option to set an ItemTemplate or an ItemTemplateSelector when styling say lists or even content controls (ContentTemplate). This is useful although most would probably just define an implicit style by not giving it a key:...
by David | Nov 19, 2013 | Debugging, Development, Tooling, Tools, Web
Update (2014-07-15): Never mind me! I recently came across another tool that does just what I intended to do and not only that, it does it quite a lot better. I think that if you like/use this tool or if you’re looking for something like it, check out Regex...
by David | Jan 21, 2013 | Development
I´ve used the WPF builtin Datagrid for presenting data easily in like tooling applications and such. Problem is, sooner or later you´ll find yourself wanting to copy that darn data to excel or a mail. I´ve been struggling with this and found some quite poor ideas on...
by David | Aug 24, 2012 | Development
For once I´ll ramble less and provide more 🙂 A simple class to help you make the WPF TextBox able to select the text when it gets focus. I´ve gotten tired of subclassing all the time so this is a neat little class that you can just attach to any TextBox-control. The...