具有IntegralHeight的ComboBox的默认DropDown高度为TRUE [英] Default DropDown height of ComboBox with IntegralHeight is TRUE

查看:182
本文介绍了具有IntegralHeight的ComboBox的默认DropDown高度为TRUE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当IntegralHeight属性为True时,ComboBox的默认最大下拉高度是多少。



当我在组合框中添加默认样式的30个项目时(

What will be the default maximum dropdown height of ComboBox when IntegralHeight property is True.

When i am adding 30 items in combobox with default styles (

IntegralHeight=True and DropDownHeight=106

),滚动条不显示在组合框中。但是当添加了35个项目时滚动条是显示。



那么ComboBox的默认最大下拉高度是多少?

), scrollbar is not displayed in combobox.But when 35 items are added scrollbar is displayed.

So what is the default maximum drop down height of ComboBox?

推荐答案

它是基于计算的有几个因素...... http://msdn.microsoft.com/ en-GB / library / system.windows.controls.combobox.maxdropdownheight.aspx [ ^ ]
It's calculated based on several factors ... http://msdn.microsoft.com/en-GB/library/system.windows.controls.combobox.maxdropdownheight.aspx[^]


这篇关于具有IntegralHeight的ComboBox的默认DropDown高度为TRUE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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