alkampfer on August 17th, 2009

In the first part I showed how to validate an entire object with the help of BindingGroup class, now I want to extend the discussion to handle a typical problem that arise with it. Suppose your business object has a property of type Int32, and you bind this property to a standard textbox, what happens [...]



kick it on DotNetKicks.com

Continue reading about Validate Business Entities with WPF – Take 2

alkampfer on August 14th, 2009

With Guardian we were investigating about a strategy to validate business entities in a project we work into. You can find a lot of examples around the web on how to use validators, but most of them deal with basic textbox, and property validation stuff. What we need is the ability to use a validation [...]



kick it on DotNetKicks.com

Continue reading about Validate Business Entities with WPF

alkampfer on August 4th, 2009

One of most missing control of Wpf is in my opinion a Checkbox list. Since in a project I’m working into, I really need such a control I worked with my fellow Guardian to create one that will satisfies our needs.
Our goal is to use less code possible and rely mainly on binding, and this [...]



kick it on DotNetKicks.com

Continue reading about Checkbox list in wpf

alkampfer on March 17th, 2009

I have a domain model composed by Clients, each client has a series of associated Typology objects and each Typology object has a certain number of associated Target. Now I need to bind this model to a series of three combo in WPF, but I have this little problem
The model is not directly accessible, I [...]



kick it on DotNetKicks.com

Continue reading about Adapting a model to make binding simpler.

alkampfer on March 11th, 2009

Some days ago, I blogged about how to hilite words in a webBrowser control for windows forms. Now I need to do the same thing on WPF WebBrowser control, but instead of doing direct modification of DOM, a friend suggested me a Javascript script to hilite words in document. My original technique, discussed in old [...]



kick it on DotNetKicks.com

Continue reading about Hilite words in webbrowser now for WPF control