如何在WPF中使用ICsharp.avalonedit创建智能感知控件 [英] How to use ICsharp.avalonedit to create an intellisense control in wpf

查看:442
本文介绍了如何在WPF中使用ICsharp.avalonedit创建智能感知控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在wpf中创建一个工具,当键入点运算符时,它会显示一个选项列表,当您键入时,该列表将被过滤掉.例如,如果我键入字母"c",则绑定到控件的列表中每个带有"c"的项目都将填充列表,并且当我键入更多字母时,列表将过滤更多内容,如果我退格,则列表被较少过滤,并且有更多选项.我不确定这是否足够有意义.我基本上是在谈论智能感知功能,例如您在Visual Studio IDE中会发现的类似功能?但是我被要求使用ICsharp. avalonedit,我对如何执行此操作一无所知.有人可以帮忙吗?谢谢

Hi , i need to create a tool in wpf that when a dot operator is typed in, it brings up a list of options, when you type you have the list being filterd through. for example, if i type in letter "c", every item in the list bound to the control with a "c" in it will populate the list and as i type in more letters, the list filters more, if i backspace then the list is filtered less and there are more options. Im not sure if that makes enough sense. Im basically talking about an intellisense feature like the likes you will find in Visual Studio IDE? But i have been asked to make use of ICsharp. avalonedit and i dont have a clue about how to do this. Can someone please assist. Thanks

推荐答案

你好

请看这个:
使用AvalonEdit(WPF文本编辑器)(竞赛最佳C#文章的获奖者"于2009年10月")
Hello

Look at this please:
Using AvalonEdit (WPF Text Editor) (Prize winner in Competition "Best C# article of October 2009")


这篇关于如何在WPF中使用ICsharp.avalonedit创建智能感知控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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