when ShowEmail in UserPrefs is set to false凉爽的。(我更改了模拟IUserPref的状态,然后查询UserProfileViewModel.Email)。很好;除非UserPrefs由于其他业务逻辑而在内部更改了状态,否则任何绑定到UserProfileViewModel.Email的视图都是无用的。我不能在上面的代码中通知PropertyChang
问题是,如果google.maps.Rectangle和InfoBox重叠,则地图上的google.maps.Rectangle事件会触发两次,尽管pane of InfoBox的高于pane of google.maps.Rectangle默认的google.maps.InfoWindow正常工作,click事件不会在底层元素(如google.maps.Rectangle )上“渗出”。
我为测试目的准备了一个。