向一个控件绑定结构体的一个子成员时,数值不能更新。
原因见https://www.py4u.net/discuss/758240,c# - Why Does Binding to a Struct Not Work? - Stack Overflow。简言之,对struct的支持不够。
解决办法是把struct改成class,能设置property的地方都用上property。
向一个控件绑定结构体的一个子成员时,数值不能更新。
原因见https://www.py4u.net/discuss/758240,c# - Why Does Binding to a Struct Not Work? - Stack Overflow。简言之,对struct的支持不够。
解决办法是把struct改成class,能设置property的地方都用上property。