Windows 7经典主题中的WPF组合框问题
我们在WPF窗口中使用简单的组合框控件。这是一个可编辑的组合框(IsEditable属性设置为true),其填充为"5,5,0,5"。当我们在具有经典主题的Windows 7中使用它时,单击组合
框内的空白区域(由5 pxl填充创建)将降低下拉列表。我们不希望从单击切换按钮以外的任何操作打开下拉菜单。此问题仅在具有经典主题的Windows 7中发生。
We are using simple combo box control in our WPF window. This is a editable combo box (IsEditable property set to true) which have padding of "5,5,0,5". When we use this in windows 7 with classic theme, clicking on the empty space inside the combo box (Create by 5 pxl padding) will bring down the drop down. We don't want drop down to be opened from any action other than clicking toggle button. This issue is happening only in windows 7 with classic theme.
是否有人遇到此问题或有任何解决方案?
Does anybody faced this issue or have any solution?
谢谢
Shreeraj
Hi Shreeraj,
Hi Shreeraj,
>> 他是一个可编辑的组合框(IsEditable属性设置为true),其填充为"5,5,0,5"。当
我们在具有经典主题的Windows 7中使用它时,单击组合框内的空白区域(由5 pxl填充创建)将关闭下拉列表。我们不希望通过点击切换按钮以外的任何操作打开下拉菜单。
根据您的说明,您说你点击组合框内的空白区域,组合框会掉下来。我不会在我身边重现这个问题,你能在这里给出一个截图和代码,让我看看你是怎么做到的?
According to your description, you said that you click on the empty space inside the combobox, the combobox will drop down. I don't reproduce this issue at my side, can you give one screenshot and code here, let me see how do you do this?
最诚挚的问候,
Cherry