首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >迁移后,DevExpress.XtraEditors.CheckedComboBoxEdit项显示为粗体。

迁移后,DevExpress.XtraEditors.CheckedComboBoxEdit项显示为粗体。
EN

Stack Overflow用户
提问于 2016-05-12 10:40:42
回答 1查看 239关注 0票数 0

我已经将我的应用程序迁移到了DevExpress 15.2。我正在以粗体显示我的DevExpress.XtraEditors.CheckedComboBoxEdit项,我已经设置了properties.Please,如果我遗漏了任何属性,请告诉我。我尝试使用Font,但是selected Item只是在更改所有的项。

代码语言:javascript
复制
this.cmbTemplates.Location = new System.Drawing.Point(503, 618);
this.cmbTemplates.Name = "cmbTemplates";
this.cmbTemplates.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.cmbTemplates.Properties.SelectAllItemCaption = "Select All";
this.cmbTemplates.Size = new System.Drawing.Size(259, 20);
this.cmbTemplates.TabIndex = 93;
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2016-05-12 11:24:25

试试这个:

代码语言:javascript
复制
cmbTemplates.Properties.AppearanceDropDown.Font = new 
Font(cmbTemplates.Properties.AppearanceDropDown.Font, FontStyle.Regular);
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/37184522

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档