I am trying to use CLR object (Person) in XAML file and also demonstrating use of converter.
This example is just to demonstrate how to use above mentioned functionality, it's doesn't perform any meaningful functionality.
I have imported namespace for Person and Converter classes and created resource in Window for both classes (Note : We can initialize classes via resource only if class has a default constructor).
Definition of person and converter classes are as follows :
No comments:
Post a Comment