Intellisense supported TextBox in WPf

感情迁移 提交于 2019-12-09 17:41:00

问题


I started with wpf 4.0. I have a textBox where i shall enter linq expressions. So i want to enable intellisense support in the textEditor. All i do now is bringing a popUp which has the list of items. Do i have anyother way to do this in WPF.

Thanks.


回答1:


No, none of the built-in controls provide Intellisense functionality. It's a feature provided by code editors, and I doubt Microsoft intends for you to re-implement Visual Studio.

You'll have to write it yourself. See here for a sample: Intellisense-like Method Selection Pop-up Window

A commercial control package is another option. For example: Actipro's WPF SyntaxEditor



来源:https://stackoverflow.com/questions/4791209/intellisense-supported-textbox-in-wpf

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!