2013-05-07 46 views

回答

2

通过阻止图像控制的交互,你是什么意思?只有当你给予点击或点击等任何事件处理程序时,用户才能进行交互。如果你没有给出任何事情,用户不能进行交互。

如果您已经提供并稍后想限制它,则可以使用isEnabledisHitTestVisible属性,方法是将其中一个属性设置为false。

myImage.isHitTestVisible = false; //Disables all the gestures like click etc on this control 

or 

myImage.isEnabled = false; //Disables and greyouts the control 
相关问题