如何在WPF中的Scrollviewer中使用Autocompletebox? [英] How to use Autocompletebox within the Scrollviewer in WPF?

查看:85
本文介绍了如何在WPF中的Scrollviewer中使用Autocompletebox?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在创建一个用于通过WPF silverlight应用程序打印报告的应用程序.报告的所有值都来自xaml页面.在xaml页面中,我在网格内部创建了一个滚动查看器控件.在此Scroll Viewer中,我创建了30行7列的文本框.关于我的客户请求,我决定将文本框更改为滚动查看器中的自动完成"框.但是我的问题是我无法使用scrollviewer中的自动完成框.我如何使用自动完成框而不是文本框.我必须通过动态方式创建自动完成框.

Hi

I am creating one application for printing report through the WPF silverlight application.All values for report came from the xaml page. In xaml page i created one scroll viewer control inside of grid. In this Scroll viewer i created textboxes for 30 rows and 7 columns. About my client request i decided to change the textbox into auto complete box in the scroll viewer. But my problem is that i could not use the autocomplete box inside the scrollviewer. How can i use the autocomplete box instead of textbox. I must create the autocompletebox through dynamically.

推荐答案

这些链接可以为您提供帮助-

http://www.jeff.wilcox.name/2008/11/autocompletebox-missing-guide / [^ ]
http://www.jeff.wilcox.name/2008/10/introducing-autocompletebox/ [ ^ ]
These links could help you -

http://www.jeff.wilcox.name/2008/11/autocompletebox-missing-guide/[^]
http://www.jeff.wilcox.name/2008/10/introducing-autocompletebox/[^]


嗨Abhinav

感谢您的支持.了解我非常有用.我需要添加任何引用,还需要一些编码来在运行时动态创建自动完成框控件
Hi Abhinav

Thank you for your support. Its very useful to understand me. I need to add any refrence and also i need some codings to create the autocompletebox control dynamically at run time


这篇关于如何在WPF中的Scrollviewer中使用Autocompletebox?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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