View unanswered posts | View active topics It is currently 2020-05-26 8:42



This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
 Tree如何支持节点间拖动,另外左键Tree的节点有时出现选不中的情况? 
Author Message
新手上路

Joined: 2014-04-17 13:34
Posts: 11
Post Tree如何支持节点间拖动,另外左键Tree的节点有时出现选不中的情况?
1.Tree如何支持节点间拖动?
2.鼠标左键单击Tree上的节点时,我发现有时如果点击在2个节点中间的位置,会出现2个都选不中的情况,貌似一定要点击节点的中心位置才可以选中,这个问题如何解决?(这样用户体验较差)


2014-04-25 10:01
Profile
TWaver开发组
User avatar

Joined: 2009-04-20 18:37
Posts: 3115
Post Re: Tree如何支持节点间拖动,另外左键Tree的节点有时出现选不中的情况?
1. TWaver的Tree继承于TreeView,默认TreeView不支持拖拽,可以借助于Silverlight toolkit,例子参考:
TreeView Drag Drop in Silverlight
2. 需要修改TreeView的样式,参考这里
Silverlight - Space above/below TreeView items


2014-04-25 10:19
Profile
新手上路

Joined: 2014-04-17 13:34
Posts: 11
Post Re: Tree如何支持节点间拖动,另外左键Tree的节点有时出现选不中的情况?
WPF也适用 吗?


2014-05-07 19:10
Profile
TWaver开发组
User avatar

Joined: 2009-04-20 18:37
Posts: 3115
Post Re: Tree如何支持节点间拖动,另外左键Tree的节点有时出现选不中的情况?
可以试试,应该可以。


2014-05-09 10:40
Profile
Display posts from previous:  Sort by  
This topic is locked, you cannot edit posts or make further replies.   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron