在silverlight数据网格列标题中放置一个文本框 [英] placing a text box inside the silverlight data grid column header

查看:160
本文介绍了在silverlight数据网格列标题中放置一个文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在silverlight数据网格列标题中添加文本框?

how to add a text box inside the silverlight data grid column header?

以便我可以使用文本框进行过滤?

so that i can use the text boxes for the filteration purpose?

推荐答案

<sdk:DataGridTextColumn.Header>
       <TextBox Text="{Binding YourTargetProperty}"/>
</sdk:DataGridTextColumn.Header>

以下文章涉及过滤和排序。
http:// www。 codeproject.com/Articles/83906/Silverlight-4-Datagrid-Sorting-Grouping-Filtering-.aspx

The following article deals with the Filtering and Sorting. http://www.codeproject.com/Articles/83906/Silverlight-4-Datagrid-Sorting-Grouping-Filtering-.aspx

这篇关于在silverlight数据网格列标题中放置一个文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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