A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

New answers tagged

2

Without running the code myself, it seems you've done a pretty good job. There are just a couple things I would point out: Names Default Value Your dependency property for Names is declared as follows: public static readonly DependencyProperty NamesProperty = DependencyProperty.Register( "Names", typeof(ObservableCollection<...


-1

public static class ObjectExtensions { public static object GetValueByName(this object o, string name) { PropertyInfo myProperty = o.GetType().GetProperty(name); return myProperty.GetValue(o, null); } public static string Parse(this string str, object o) { ...


Top 50 recent answers are included