更改自动完成组合框列表项的字体大小,C# [英] Change Font size of AutoComplete combobox list items , C#

查看:129
本文介绍了更改自动完成组合框列表项的字体大小,C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



我正在开发.net framework 4.5中的Windows应用程序。

面对自动完成列表的字体大小问题组合框。组合框测试的大小小于自动完成列表的字体大小。

我想减少自动完成列表项的大小。请帮帮我.. !!



提前谢谢:)

解决方案

嗯...... ..........



...................

...................









...................







...................


试试

代码:

.TextBox1.Font = System.Drawing.Font( Microsoft Sans Serif 8 .25!,_
System.Drawing.FontStyle.Regular,_
System.Drawing.GraphicsUnit.Point, CType 0 Byte ))


Hello,

I am developing windows application in .net framework 4.5.
Facing problem with font size of auto complete list of combo box. The size of combo box test is smaller than font-size of auto complete list.
I want to decrease the size of auto complete list items. Please help me..!!

Thanks in advance :)

解决方案

ummm ..............

...................
...................




...................



...................


Try like

Code:

        Me.TextBox1.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, _
                               System.Drawing.FontStyle.Regular, _
                               System.Drawing.GraphicsUnit.Point, CType(0, Byte))


这篇关于更改自动完成组合框列表项的字体大小,C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆