SurfaceScrollViewer中的ComboBox无法正常工作. [英] ComboBox inside SurfaceScrollViewer is not working.

查看:108
本文介绍了SurfaceScrollViewer中的ComboBox无法正常工作.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于combobox不是曲面控件,所以如果我将combobox放在surfacecrollviewer中,行为看起来很奇怪.它不能通过触摸打开,只能通过鼠标打开.我使用surfacetoggle按钮为组合框创建了样式,但无法选择项目.

As combobox is not a surface control, if I put combobox inside surfacescrollviewer behavior looks strange. It cannot open by touch, only by mouse. I created style for combobox with surfacetoggle button, but it cannot select Item.

任何想法或帮助都将不胜感激.

Any idea or help is much appreciated..

推荐答案

SwainSubhashis,

Hi SwainSubhashis,

根据您的描述,我制作了一个代码示例,并在Surface pro2上运行它.效果很好.

Based on your description, I have made a code sample and run it on the Surface pro2. It worked well.

因为我没有Windows7计算机,所以我在Windows8.1 64位系统中设置了Surface运行时SDK.

Because I have no windows7 machine, so I have setup the Surface runtime SDK in my windows8.1 64bit system.

然后将这些引用添加到我的项目中.

Then I add these references in my project.

您可以在"C:\ Windows \ Microsoft.NET \ assembly \ GAC_MSIL"中找到所有这些内容.我的目标框架是.net 4.5.您可能需要检查是否在项目中添加了这些引用.

You could find these all in "C:\Windows\Microsoft.NET\assembly\GAC_MSIL". My target framework is .net 4.5. You might need to check whether you have add these references in your project.

最好的问候,

Xavier Eoro

Xavier Eoro


这篇关于SurfaceScrollViewer中的ComboBox无法正常工作.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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