devexpress的下拉框控件lookupedit的使用、添加item选项值、修改默认显示值:
https://blog.csdn.net/badao_liumang_qizhi/article/details/102464577
参照上面实现的lookupedit实现的效果为
除了要显示的选项外,还有一个列名column显示。
注:
博客主页:
关注公众号
霸道的程序猿
获取编程相关电子书、教程推送与免费下载
怎样设置不让此列名显示
lookupedit typeselect = new lookupedit(); typeselect.properties.showheader = false;
完整示例代码
lookupedit typeselect = new lookupedit(); typeselect.properties.showheader = false; typeselect.width = global.chart_option_width; typeselect.name = "typeselecty" + ylist[i].no; typeselect.location = new point(100, 100); list<string> list = new list<string>(); list.add("折线"); list.add("点折线"); list.add("点离散"); typeselect.properties.datasource = list; typeselect.properties.nulltext = ylist[i].type;
去掉列名后
如对本文有疑问, 点击进行留言回复!!
使用Visual Studio2019创建C#项目(窗体应用程序、控制台应用程序、Web应用程序)
C#实现获取本地内网(局域网)和外网(公网)IP地址的方法分析
浅谈Visual Studio 2019 Vue项目的目录结构
网友评论