FormRegionControl Interface
Represents an Outlook form region that is based on a user control.
Namespace: Microsoft.Office.Tools.Outlook
Assembly: Microsoft.Office.Tools.Outlook (in Microsoft.Office.Tools.Outlook.dll)
Syntax
'Declaration
<GuidAttribute("78db499d-9c54-4fd3-9746-8b9ab0455df1")> _
Public Interface FormRegionControl _
Inherits IDisposable
[GuidAttribute("78db499d-9c54-4fd3-9746-8b9ab0455df1")]
public interface FormRegionControl : IDisposable
The FormRegionControl type exposes the following members.
Properties
Name | Description | |
---|---|---|
Factory | Gets or sets the form region factory that is associated with this FormRegionControl. | |
Manifest | Gets the FormRegionManifest that describes how the form region appears in Outlook. | |
OutlookFormRegion | Gets or sets the native form region object. | |
OutlookItem | Gets the Outlook item in which the form region appears. |
Top
Methods
Name | Description | |
---|---|---|
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) |
Top
Events
Name | Description | |
---|---|---|
FormRegionClosed | Occurs before the form region is closed. | |
FormRegionShowing | Occurs after an instance of the form region is created but before the form region appears. |
Top
Remarks
Visual Studio generates an instance of a class that implements the FormRegionControl interface when you design a new form region in Visual Studio.
In most cases, you do not have to use this class directly. Instead, you can use the form region class that Visual Studio generates when you add a new Outlook Form Region item to your project.
The form region class inherits from FormRegionBase. You can accomplish most tasks related to the form region by using the events and properties in the form region class.
If you want to work with the FormRegionControl directly, call the Base property of the FormRegionBase class.