拖放-Lightswitch网格 [英] Drag and Drop - Lightswitch Grid

查看:88
本文介绍了拖放-Lightswitch网格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最后几天,我在LS Grid中看到了一些东西,我认为这是不可能的.例如 分组数据 修改背景和前景颜色.

the last days I have seen some things in LS Grid, I would not have regarded as possible. For example Grouping Data and Modifying Background and Foreground Color.

现在,我想知道是否还可以在LS网格中使用拖放操作,以及从一个网格拖放到另一个网格吗?也许这已经有人了,可以提供一些示例代码.

Now I would like to know if it is also possible to use drag and drop in the LS Grid and drag and drop from one grid to another? Maybe this has already made somebody and can provide some sample code. 

谢谢.

推荐答案

Silverlight DataGrid可以做的任何事情(可以做的很多)都可以在LS DataGrid中完成(如正如我在

Anything (pretty much) that the Silverlight DataGrid can do, can be done in the LS DataGrid (as it's basically using a Silverlight DataGrid, with some LS stuff wrapped around it), as I pointed out way back in my How To Enable Multiple Row Selection In Lightswitch's Grids sample.. It's just not automatic, you have to do some work in code to coax those extra features out.

但是您必须牢记,这些修改"冒着无法在任何未来版本的LS中运行的风险.

But you have to keep in mind, these kinds of "modifications" run the risk of not working in any future version of LS.


这篇关于拖放-Lightswitch网格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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