是否可以知道何时显示特定的全景项目 [英] Is it possible to know when a particular panorama item is displayed

查看:77
本文介绍了是否可以知道何时显示特定的全景项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个全景物品清单.

I have a list of panorama Items.

我想知道用户何时到达特定的全景物品,然后采取必要的措施.

I want to know when the user has reached a particular panorama item and then take necessary action.

我尝试在全景图项目上使用事件处理程序GotFocus,但是当用户到达该项目时不会调用该事件处理程序

I tried using the eventhandler GotFocus on the panorama item but it doesn't get invoked when the user reaches the item

推荐答案

全景控件具有

The Panorama control has a SelectionChanged event which is fired when the user pans from one item to the next. You can then use the SelectedItem or SelectedIndex properties to find the item which is currently in view.

这篇关于是否可以知道何时显示特定的全景项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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