会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
njit_77
博客园
首页
联系
管理
2019年9月13日
wpf 当DataGrid列模版是ComboBox时,显示信息
摘要: 实际工作中,有时DataGrid控件某一列显示数据是从Enum集合里面选择出来的,那这时候设置列模版为ComboBox就能满足需求。而关于显示的实际内容,直接是Enum的string()返回值可能不太适合,这时候采用System.ComponentModel.Description是一个很好用的
阅读全文
posted @ 2019-09-13 13:24 njit_77
阅读(838)
评论(0)
推荐(0)
编辑
公告