使用-PCl v 2.3.4.267 -Debug在Android设备Xamarin形式图像的IsEnabled与绑定属性不起作用Xamarin窗体
我有被用作按钮
<Image Source="loginbutton.png"
Aspect="AspectFit"
HorizontalOptions="Fill"
Margin="50,20,50,0"
fe:TappedGestureAttached.Command="{Binding Login}"
IsVisible ="{Binding user.IsSubmitEnabled}"<---works fine
IsEnabled="{Binding user.IsSubmitEnabled}"<---Does nothing
/>
我的图片在代码中提到“可见工程伟大但是已启用”并没有做任何事情。
注意:如果有任何解决方法,请分享。
你期望它做什么? –
该图片将无法显示 –
至少作为一种解决方法,您可以尝试使用InputTransparent属性 –