WPF is a very powerful framework for GUI development. Among other things, it contains a unified approach to user input validation. Adding validation in WPF is very straightforward in most cases. However, validating DataGrid rows is slightly challenging. However, the good people of the world has already taken care of the problem and provided quite detailed walk-throughs. I recommend reading this interesting article (WPF DataGrid Practical Examples) about WPF DataGrid. Among other things, it describes how to perform row validation using the standard

IDataErrorInfo

interface.

Tags: computers
Categories: None |

2 comments have been posted.

    Dec. 30, 2011, 7:55 a.m. - Anonymous  
    Best implementation of wpf extended datagrid can be found here <a href="http://wpfextendeddatagrid.codeplex.com/">WPF Extended DataGrid</a> <b>Project Description</b> This is extended version of WPF toolkit DataGrid control. This grid has features like 1:Column Choosers. 2:AutoFilter Control. 3:Export To Excel Feature. 4:Copy Paste To Excel and Copy Paste From Excel 5:To DataGrid. 6:Three State Sorting. 7:Displaying Sort Order If Multiple Sort is done
    Reply
    Jan. 4, 2012, 7:25 p.m. - Andre  
    Looking at the project page, one can see that it is pretty new, at least as far as CodePlex is concerned. With breathtaking 21 downloads and not a single screenshot or discussion message, one wonders, how much usage has it had. If the author of the original comment is interested in promoting the product, better documentation would provide more useful, then claims such as the "best implementation".
    Reply
Your email: we will send you a confirmation link to this address to confirm your identity and to prevent robot posting
Get in touch
»...«
Follow updates

Join our social networks and RSS feed to keep up to date with latest news and publications