Adding unknown (at design time) properties to an ExpandoObject

前端 未结 5 1720
天涯浪人
天涯浪人 2020-11-27 03:35

just exploring c# 4. Trying to get my head around all this dynamic stuff. Sorry if this question is silly, no experience in this domain.

If I have an ExpandoObject a

5条回答
  •  盖世英雄少女心
    2020-11-27 04:12

    I just discovered this interesting fact: XAML Bindings to an ExpandoObject will also create the properties the binding is trying to access.

    I still need more creativity to find out what this could be good for. Dynamic object creation on the UI? sounds cool :D I will try something out.

提交回复
热议问题