[WPF]数据绑定失效的问题
有可能的原因如下:
绑定的属性一定是属性而不能是字段,比如:
public int data;
是无法生效的,而
public int data {get;set;}
这样才能生效
https://github.com/li-zheng-hao
有可能的原因如下:
绑定的属性一定是属性而不能是字段,比如:
public int data;
是无法生效的,而
public int data {get;set;}
这样才能生效