无法将 AutoCompleteBox 添加到工具箱或手工制作 XAML [英] Unable to add AutoCompleteBox to toolbox or handcrafting XAML

查看:28
本文介绍了无法将 AutoCompleteBox 添加到工具箱或手工制作 XAML的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 WPFToolkit 2 月发布的 AutoCompleteBox 控件.

I'm trying to use the AutoCompleteBox control from the february release of WPFToolkit.

我使用 .msi 文件安装工具包,添加程序集引用,并且我的工具箱中只出现两个新控件:日历和日期选择器.然后我尝试手工制作 XAML,如 WPF: AutoComplete TextBox, ...again,但再一次,AutoCompleteBox 丢失了.

I install the toolkit using the .msi file, add the assembly reference, and only two new controls appears in my toolbox: Calendar and Datepicker. I then tried to handcraft the XAML as shown in WPF: AutoComplete TextBox, ...again, but once again, the AutoCompleteBox is missing.

另外,自从我安装了 WPFToolkit,我的工具箱有一些奇怪的行为,比如删除所有元素并且不允许我添加任何新控件.

Also, since I've installed WPFToolkit, my toolbox has some strange behavior, like deleting all elements and not letting me add any new control.

有没有人遇到过同样的问题,并且知道如何解决它们?

Does anyone have had the same issues, and know how to solve them?

推荐答案

试试这个:

  1. 在 VS 中右键单击工具箱
  2. 选择重置工具箱".

如果这不起作用:

  1. 停止 Visual Studio
  2. 转到:<drive>:\Documents and Settings\<user>\Local Settings\Application Data\Microsoft\VisualStudio\<VS version>
  3. 删除隐藏文件:
    • toolbox.tbd
    • toolbox_reset.tbd
    • toolboxIndex.tbd
    • toolboxIndex_reset.tbd

这篇关于无法将 AutoCompleteBox 添加到工具箱或手工制作 XAML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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