Freigeben über


FormRegionControl Interface

Definition

Represents an Outlook form region that is based on a user control.

public interface class FormRegionControl : IDisposable
[System.Runtime.InteropServices.Guid("78db499d-9c54-4fd3-9746-8b9ab0455df1")]
public interface FormRegionControl : IDisposable
[<System.Runtime.InteropServices.Guid("78db499d-9c54-4fd3-9746-8b9ab0455df1")>]
type FormRegionControl = interface
    interface IDisposable
Public Interface FormRegionControl
Implements IDisposable
Attributes
Implements

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.

Properties

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.

Events

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.

Applies to