是否可以知道何时显示特定的全景项目
我有一个全景项目列表。
我想知道用户何时到达特定的全景项目,然后采取必要的操作。
我尝试在全景项目上使用事件处理程序 GotFocus,但当用户到达该项目时它不会被调用
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.
I tried using the eventhandler GotFocus on the panorama item but it doesn't get invoked when the user reaches the item
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Panorama 控件有一个 SelectionChanged当用户从一个项目平移到下一个项目时触发的事件。然后,您可以使用 SelectedItem 或 SelectedIndex 属性来查找当前视图中的项目。
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.