带有自定义按钮的 Outlook 插件主页选项卡 [英] Outlook addin Home tab with custom button

查看:45
本文介绍了带有自定义按钮的 Outlook 插件主页选项卡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿,我正在尝试在 Outlook 2010 的默认 主页 选项卡中创建一个按钮.问题是,在 VS2013 中,我添加了一个功能区(视觉)并添加了带有按钮的组,但是它不断将其添加到 TabAddIns 标签中.

Hey all I am trying to create a button within the default Home tab in Outlook 2010. Problem being is that, in VS2013 I added a Ribbon (visual) and added the group with the button but it keeps adding that to the TabAddIns tab.

我需要设置什么才能让该自定义组/按钮显示在主页标签中,而不是制作自己的标签?

What do I need to set in order for that custom group/button to display in the Home tab instead of making its own tab?

谢谢!

推荐答案

明白了!

使用这里的链接是能够发现 Home 标签被称为 TabMail.

并遵循以下说明:

内置选项卡是已在 Outlook 资源管理器或检查器功能区上的选项卡.在此过程中,您将自定义组添加到内置选项卡中,然后指定自定义组在选项卡上的位置.

A built-in tab is a tab that is already on the Ribbon of an Outlook Explorer or Inspector. In this procedure, you will add the custom group to a built-in tab, and then specify the position of the custom group on the tab.

将自定义组添加到内置选项卡

单击 TabAddins (Built-In) 选项卡将其选中.

Click the TabAddins (Built-In) tab to select it.

在属性"窗口中,展开 ControlId 属性,然后将 OfficeId 设置为 TabMail.

In the Properties window, expand the ControlId property, and then set OfficeId to TabMail.

这会将 Customer Purchases 组添加到出现在新邮件消息中的功能区的消息"选项卡.

This adds the Customer Purchases group to the Messages tab of the Ribbon that appears in a new mail message.

单击 Customer Purchases 组以将其选中.

Click the Customer Purchases group to select it.

在属性"窗口中,展开 Position 属性,单击 PositionType 属性旁边的下拉箭头,然后单击 BeforeOfficeId.

In the Properties window, expand the Position property, click the drop-down arrow next to the PositionType property, and then click BeforeOfficeId.

将 OfficeId 属性设置为查找.

Set the OfficeId property to Find.

这将 Customer Purchases 组置于 Messages 选项卡的 Clipboard 组之前.

This positions the Customer Purchases group before the Clipboard group of the Messages tab.

这篇关于带有自定义按钮的 Outlook 插件主页选项卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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