我们如何在Silverlight中使用DataGrid中的复选框 [英] how we use checkbox in datagrid in silverlight

查看:86
本文介绍了我们如何在Silverlight中使用DataGrid中的复选框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
请告诉我,如何将复选框用于Everyrow选择,并且该复选框上的主复选框都处于选中状态,而同一未选中状态下,所有复选框处于未选中状态
谢谢和问候
harbans verma

hello,
please tell me that how i can use checkbox for everyrow selection and a master checkbox on that checkbox all checked and on same unchecked all checkbox is uncheked
Thanks and regards
harbans verma

推荐答案

好,让我创建一个示例.
Nice , Let me create a sample.


您好,请在此处查看博客文章

http://manaspatnaik.com/blog/index.php/technology/silverlight-4/accessing-controls-in-datagrid-columnheader-silverlight/877 [
Hi Check with the Blog post here

http://manaspatnaik.com/blog/index.php/technology/silverlight-4/accessing-controls-in-datagrid-columnheader-silverlight/877[^]

You can fetch the SelectAll Check box from the DataGrid Template and attach a event handler to it.

Thanks


这篇关于我们如何在Silverlight中使用DataGrid中的复选框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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