nityaprakash's Blog (March 2013)

Delegate window event to ViewModel ICommand

 18-Mar-2013   NityaPrakash     WPF  ICommand 

In most of the cases we use MVVM pattern in WPF to build application. Main essence of MVVM pattern is View doesn�t know about ViewModel. View and ViewModal interact to each other through DataContext property...

Read More

Generate XmlDocument with XPathList

 28-Mar-2013   NityaPrakash     XML 

I spent almost a day to figure out the algorithm to generate the XML from my list of XPaths.  In our structure we were storing only XPath of leaf node. which was pointing to a data in other table.  We had to show this XPath in TreeView Control...

Read More