是否可以知道何时显示特定的全景项目

发布于 2024-11-04 10:53:57 字数 107 浏览 7 评论 0原文

我有一个全景项目列表。

我想知道用户何时到达特定的全景项目,然后采取必要的操作。

我尝试在全景项目上使用事件处理程序 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

生生漫 2024-11-11 10:53:57

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文