This sample will show you how to use IValueConverter in WPF. It is very handy and very impt concept.Dont miss it.
Here we will populate the DataTable and bind it to the DataContext of the ListView
Now go to XAML and use Styles and triggers to implement our logic of Age as shown below:
Now to support Static Resource ValueConv which we have used above in Style, Create a class which implements IValueConerteras shown below
No comments:
Post a Comment