简体   繁体   English

是否可以在 Visual Studio 扩展中创建类似于 Intellisense 对话框的模式对话框?

[英]Is it possible to create a modal dialog similar to the Intellisense dialog in a Visual Studio extension?

I'm trying to figure out if and how I can create a custom dialog in a Visual Studio extension similar to the Intellisense dialog:我试图弄清楚是否以及如何在类似于 Intellisense 对话框的 Visual Studio 扩展中创建自定义对话框:

智能感知对话框

and the Find & Replace dialog.和“查找和替换”对话框。

在此处输入图片说明

I don't want to create an entirely new WPF window that is separated from visual studio (ie has its own icon on the start bar) - I want a dialog that is within VS that can supports custom controls.我不想创建一个与 Visual Studio 分开的全新 WPF 窗口(即在开始栏上有自己的图标) - 我想要一个在 VS 中可以支持自定义控件的对话框。 I specifically want a dialog like this that has a ListView and a TextBox.我特别想要一个像这样有一个 ListView 和一个 TextBox 的对话框。

Is that at all possible?这可能吗? I've searched around a lot but resources seem scarce.我已经搜索了很多,但资源似乎稀缺。 Is there at least a way to fake this behaviour?至少有办法伪造这种行为吗?

I know that it's 2018 now, but if anyone come across this page in a search and wants to know the answer to the same question, I've added a link to the official Microsoft documentation.我知道现在是 2018 年,但是如果有人在搜索中遇到此页面并想知道同一问题的答案,我已添加了指向 Microsoft 官方文档的链接。

Have a look at Adding a Tool Window which shows the various ways to add a WPF ToolWindow control to Visual Studio.查看添加工具窗口,其中显示了将 WPF ToolWindow控件添加到 Visual Studio 的各种方法。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 创建Visual Studio样式的“选项/设置”对话框 - Create Visual Studio style Options/Settings Dialog Visual Studio-创建->没有ProjectTemplate的“新建项目”对话框 - Visual Studio - Create -> New Project Dialog without ProjectTemplate C#:创建类似于Visual Studio帮助的SystemInfo对话框 系统信息 - C#: Creating SystemInfo dialog similar to Visual Studio Help | System Info 如何在启动Visual Studio时显示对话框。 - VS扩展 - How to make a dialog appear when Visual Studio is started. - VS Extension Visual Studio“选择资源”对话框替换 - Visual Studio “Select Resource” dialog replacement Visual Studio 2008文件夹浏览器对话框 - Visual Studio 2008 folder browser dialog 是否可以在Visual Studio中向“添加现有项”对话框添加新的文件过滤器? - Is it possible to add new file filter to Add Existing Item dialog in visual studio? 可以在带有jquery对话框的页面上使用Visual Studio 2010 Web性能测试吗? - Possible to use Visual Studio 2010 web performance test on page with jquery dialog? 每当我尝试在 Microsoft SQLClient 中创建或更改现有表时,Visual Studio 都会不断弹出另存为对话框 - Visual studio keeps on popping Save as dialog box whenever I try to create or change existing table in Microsoft SQLClient 是否可以将事件智能感知功能添加到 Visual Studio 中的自定义 class - Is it possible to add event Intellisense functionality to a custom class in Visual Studio
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM