I want to have context menus attached to tree items in my Silverlight Toolkit tree. How can I do this?
我希望在Silverlight Toolkit树中将上下文菜单附加到树项。我怎样才能做到这一点?
Right click support is only supported via Javascript, so the vendor route is a good way to go.
只有通过Javascript支持右键单击支持,因此供应商路由是一个很好的方法。
Curtisk's suggestion of the Telerik control is a good choice, but this can be tricky to implement first time - if you go this route make sure you pay a few extra pounds for their support - the documentation is lousy.
Curtisk对Telerik控制的建议是一个不错的选择,但这可能是第一次实施的棘手问题 - 如果你走这条路线确保你为他们的支持多付几英镑 - 文件很糟糕。
Have you considered any alternatives to context menus? At the moment I am working on project porting a thick client application to Silverlight. We had a lot of right click context in the thick app, and after consulting with Microsoft's UX team and also looking at the examples on Quince UX we decided to implement our context menus in a permanent task based menu on the right hand side of our screen. Implementation is a doodle with binding and, most importantly, our users have received this well :-)
您是否考虑过上下文菜单的替代方案?目前我正在开发一个将胖客户端应用程序移植到Silverlight的项目。我们在厚应用程序中有很多右键单击上下文,在咨询了Microsoft的UX团队并查看了Quince UX上的示例后,我们决定在屏幕右侧的基于任务的永久性菜单中实现上下文菜单。实现是一个带有绑定的涂鸦,最重要的是,我们的用户已经收到了这个:-)
One way is vendor provided.....
供应商提供的一种方式.....
Telerik has RADControls for Silverlight, the contextmenu control can be attached to tree views.
Telerik为Silverlight提供RADControls,contextmenu控件可以附加到树视图。
http://www.telerik.com/products/silverlight.aspx
and
http://www.telerik.com/products/silverlight/contextmenu.aspx
for more details and demo with tree
有关树的更多详细信息和演示
本站翻译的文章,版权归属于本站,未经许可禁止转摘,转摘请注明本文地址:http://www.silva-art.net/blog/2009/04/02/d8d38fe9a693df612f2002549a1f1083.html。