如何在图像上执行鼠标悬停事件??? [英] How to Perform mouse over event on an image ???

查看:85
本文介绍了如何在图像上执行鼠标悬停事件???的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在事件上看到鼠标上的图像?我的意思是我有两个图像一个隐藏一个这个可见所以我想如果我的鼠标超过image1然后image2必须是可见的。所以我怎么能这样做。请帮助... :(



anish

how to can i visible an image on mouse over event ?? i mean i have two images one is hide one this visible so i want that if my mouse gone over image1 then image2 must be visible .so how can i do it .please help ...:(


anish

推荐答案

在Windows Phone中没有鼠标悬停事件。

In windows Phone there is no mouse over event.

我更喜欢使用Got焦点或点击事件,因为没有鼠标来举起活动。 

I would prefer using the Got focus or tap event as there is no mouse to raise an event. 

WP os纯粹基于触摸因此更改事件的图像聚焦或点击。如果您仍然需要鼠标之类的东西,则可以使用鼠标输入。

The WP os is purely touch based so change the image on the events Got Focus or Tap. If you still want something like mouse over then you can use Mouse Enter.


这篇关于如何在图像上执行鼠标悬停事件???的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆