在语义缩放控制 - Zoomedout模式中使标题可选。 [英] Making Header Selectable in Semantic Zoom control-Zoomedout mode.

查看:121
本文介绍了在语义缩放控制 - Zoomedout模式中使标题可选。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

具有语义控制和缩小模式。显示下面列出的项目的标题需要具有选择功能。标题下的仅当前项目是可选择的。


标题模板是基于Div的h1和ItemTemplate由列表视图组成。


请建议一种实现此目的的方法。

解决方案

为什么要让标题可选? 除此之外,你必须自己实现这一点。 为您的标题捕捉指针,并应用与列表视图项类似的样式。 您可以在Visual Studio中使用
DOM浏览器跟踪样式和元素ID。 如果它是一个模板(它是),你将不得不做类似基于类的查询,将事件处理程序附加到标题,因为ID是自动生成的。


- 杰夫


Have a Semantic control and in zoomed out mode.The Header which shows items listed under needs to have selection feature.Currentlu only item under the Header is selectable.

The Header template is a Div based h1 and ItemTemplate consist of a listview.

Please suggest a way to achieve this.

解决方案

Why would you want to make the header selectable?  That aside, you would have to implement this yourself.  Trap the pointer down for your header and apply styling similar to the list view items.  You can trace the styles and element IDs using the DOM explorer in Visual Studio.  If it is a template (which it is) you will have to do something like query based on class to attach event handler(s) to the headers since the ID is generated automatically.

-Jeff


这篇关于在语义缩放控制 - Zoomedout模式中使标题可选。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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