Binding to ExpandoObject. PropertyChanged not working

They didn’t add a default mechanism for binding to dynamic objects and instead added a new interface ICustomTypeProvider. And that interface wasn’t added to an ExpandoObject either, but with expando you should be able to use the indexer binding since it is an IDictionary<string, object> that implements INotifyPropertyChanged.

<TextBlock Text="{Binding [Foo]}"/>

Leave a Comment