在wpf中的datagrid中应用样式 [英] applying styles in datagrid in wpf

查看:117
本文介绍了在wpf中的datagrid中应用样式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我在一个窗口中有两个数据网格。我已经在datagrid的资源字典中创建了一个样式,当我将这个资源调用到我的窗口时,它适用于datagrids任何一个请给我一个解决方案因为我需要不同的样式这两个不同的数据网格





谢谢大家

hi all,

i had two datagrid in a single window. i had created a style in resource dictionary for datagrid when i call this resource to my window it applies for both the datagrids will any one please give me a solution for since i need different style for these two different datagrids


thank u all

推荐答案

使用样式和模板的WPF DataGrid自定义 [ ^ ]



使用Excel样式列过滤器的WPF DataGrid [ ^ ]



wpf-datagrid-style [ ^ ]
WPF DataGrid Custommization using Style and Template[^]

WPF DataGrid With Excel Style Column Filter[^]

wpf-datagrid-style[^]


这篇关于在wpf中的datagrid中应用样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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