WPf中的Intellisense支持的TextBox [英] Intellisense supported TextBox in WPf

查看:176
本文介绍了WPf中的Intellisense支持的TextBox的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从wpf 4.0开始。我有一个textBox,我将在其中输入linq表达式。所以我想在textEditor中启用智能感知支持。我现在要做的就是带来一个弹出式菜单,其中包含项目列表。我在WPF中还有其他方法吗?

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.

谢谢。

推荐答案

否,没有内置控件提供Intellisense功能。该功能由代码编辑器提供,我怀疑Microsoft是否打算让您重新实现Visual Studio。

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.

您必须自己编写它。参见此处的示例:类似Intellisense的方法选择弹出窗口

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

商业控制包是另一种选择。例如: Actipro的WPF语法编辑器

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

这篇关于WPf中的Intellisense支持的TextBox的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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