Office 2013 功能区和 .Net? [英] Office 2013 Ribbon and .Net?

查看:69
本文介绍了Office 2013 功能区和 .Net?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道自 2003 年以来 Office 功能区发生了相当大的变化,我在 2010 年对功能区进行了一些适度的自定义.

I know that the Office Ribbon has gone under pretty significant changes since 2003 and I've done some modest customization of the ribbon in 2010.

问题:我看到了许多对 .Net 的引用,特别是 C# 和 Office Ribbon.这在很大程度上只是(也许)动态定制吗?我的意思是,Office 2013 不能运行任何 .Net 代码,是吗?说到底还是VBA不行?

Question: I've seen a number of references to .Net and specifically C# and the Office Ribbon. Is this largely just (maybe) dynamic customizing? I mean, Office 2013 can't run any .Net code, can it? At the end of the day, it is still VBA no?

谢谢

推荐答案

我想您指的是 Ribbon WPF 控件,记录在此处:https://msdn.microsoft.com/en-us/library/ff799534%28v=vs.110%29.aspx

I imagine that you are referring to the Ribbon WPF control, documented here: https://msdn.microsoft.com/en-us/library/ff799534%28v=vs.110%29.aspx

这是一个可用于自定义 .NET 应用程序的 UI 控件,使它们具有办公应用程序的外观和感觉.

This is a UI control that can be used in custom .NET applications, giving them the look and feel of office applications.

如果您指的是实际办公应用程序中的功能区 - 正如评论中提到的,插件可以用 .NET 代码编写(实际上这已经有一段时间了),并且这些可以修改工具栏.链接位于上面链接的页面底部.

If you are referring to the ribbon in actual office applications- as the comments mention, addins can be written in .NET code (this has been possible for quite some time, actually), and these can modify the toolbar. Links are available at the bottom of the page linked above.

这篇关于Office 2013 功能区和 .Net?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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