我有一个radAutoCompleteBox。我的问题是这个问题的高度所以我做得更小。然后部分文字似乎没有。当我从工具箱添加它时,它最初具有26高度。我想把这个高度设置为20.我尝试更改字体,但它的字体已经是最小的Segoe UI,8,25pt。它也在Telerik.Wincontrols.UI中定义,而不是wpf。
// cptSampleCategory
//
this.cptSampleCategory.AutoCompleteDataSource = this.samplecategoryBindingSource;
this.cptSampleCategory.AutoCompleteDisplayMember = "samp_cat_name";
this.cptSampleCategory.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
this.cptSampleCategory.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
this.cptSampleCategory.ForeColor = System.Drawing.Color.Black;
this.cptSampleCategory.Location = new System.Drawing.Point(14, 14);
this.cptSampleCategory.Name = "cptSampleCategory";
this.cptSampleCategory.NullText = "Arama kriterini giriniz..";
//
//
//