C# WPF Tips : How to bind array/list elements
C# WPF Tips : How to bind array/list elements
Binding is an ideal technique for displaying dybanic content in to application in WPF. Todays tips is about how to bind list/array elements in a C# WPF app.
In my C# code I have specified the binding as follows.
List<string> myvalues = new List<string>() { "May 2020", "May", "Monday", "25/May/2020" }; txt_month.DataContext=myvalues;
I wan t to bind the second element, that means second…
View On WordPress











