2016-05-12 13 views
0

私のアプリケーションをDevExpressに移行しました15.2. DevExpress.XtraEditors.CheckedComboBoxEditアイテムが太字で表示されています。次のプロパティを設定しました。プロパティが不足している場合はお知らせくださいフォントのプロパティを試しましたが、selected Itemはすべてのアイテムを変更するだけではありません。DevExpress.XtraEditors.CheckedComboBoxEdit移行後にアイテムが太字で表示される

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; 

答えて

1

これを試してみてください:

cmbTemplates.Properties.AppearanceDropDown.Font = new 
Font(cmbTemplates.Properties.AppearanceDropDown.Font, FontStyle.Regular); 
+0

didntは私を助ける:( – rakesh

+0

'this.cmbTemplates.Properties.AppearanceDropDown.Font =新System.Drawing.Font( "MS Pゴシック"、8F、System.Drawing。私のために働いた。おかげです:)私の時間を救った:)とてもありがとう – rakesh

+0

良い!私はそれを聞いてうれしい :) –

関連する問題