Udostępnij za pośrednictwem


How to: Add a Custom Action to an Outlook Form Region

Applies to

The information in this topic applies only to the specified Visual Studio Tools for Office projects and versions of Microsoft Office.

Project type

  • Application-level projects

Microsoft Office version

  • Outlook 2007

For more information, see Features Available by Application and Project Type.

Add one or more custom actions to a Microsoft Office Outlook form region by using the Custom Actions dialog box. For more information, see Custom Actions in Outlook Form Regions.

To add a custom action to a form region

  1. In Visual Studio, open an Outlook 2007 add-in project that contains a form region item. For more information, see How to: Add a Form Region to an Outlook Add-in Project.

  2. In Solution Explorer, expand the project node, right-click the form region item, and then click View Designer.

    The form region designer appears.

  3. Right-click the form region designer, and then click Properties.

  4. In the Properties window, expand the Manifest node, select the CustomActions property, and then click the ellipsis button (ASP.NET Mobile Designer ellipse).

    The Custom Actions dialog box appears.

  5. Click Add to add a new custom action.

  6. Set the properties of the custom action, and then click OK to close the Custom Actions dialog box.

    For information about what each property means, see Custom Actions in Outlook Form Regions.

See Also

Tasks

Walkthrough: Designing an Outlook Form Region

Concepts

Creating Outlook Form Regions

Outlook Solutions

Custom Actions in Outlook Form Regions

Guidelines for Creating Outlook Form Regions