ASP.Net HTML 代码窗口常量名称

发布于 2024-09-06 03:09:36 字数 312 浏览 0 评论 0原文

我正在尝试为 asp.net html 窗口放置一个右键菜单插件。 我目前拥有的可以在 C#/Vb 代码窗口上运行...只是不能在 html 代码窗口中运行。

        commandBars = (CommandBars)applicationObject.CommandBars;
        codeCommandBar = commandBars["Code Window"];

这将使我获得非 html 代码窗口的上下文菜单(右键单击菜单)。

但是什么常量名称可以让我获得 html 代码窗口上下文菜单呢?

I am trying to place a right-click menu addin for the asp.net html window.
The one I currently have works on the C#/Vb code window...just not in the html code window.

        commandBars = (CommandBars)applicationObject.CommandBars;
        codeCommandBar = commandBars["Code Window"];

That would get me the context menu (right-click menu) of the non-html code window.

But what constant name would get me the html code window context menu?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

别念他 2024-09-13 03:09:36

“ASPX Context”是aspx代码窗口的右键菜单。

我找到了一种枚举命令栏 [] 并将它们全部列出的方法。我只需要搜索正确的即可。

"ASPX Context" is the aspx code window right-click menu.

I found a way to enumerate the commandbars[] and list them all.. I just had to search for the right one.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文