Share via


FormRegionControl Class (2007 System)

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

Namespace:  Microsoft.Office.Tools.Outlook
Assembly:  Microsoft.Office.Tools.Outlook.v9.0 (in Microsoft.Office.Tools.Outlook.v9.0.dll)

Syntax

'Declaration
Public Class FormRegionControl _
    Inherits UserControl _
    Implements IFormRegion
'Usage
Dim instance As FormRegionControl
public class FormRegionControl : UserControl, 
    IFormRegion
public ref class FormRegionControl : public UserControl, 
    IFormRegion
public class FormRegionControl extends UserControl implements IFormRegion

Remarks

If you add an Outlook Form Region item to an Outlook add-in project, and select Design a new form region in the first page of the New Outlook Form Region wizard, Visual Studio Tools for Office adds a form region class that inherits from FormRegionControl.

You can also manually create a form region class that inherits from FormRegionControl. If you create a form region class manually, you must create a form region factory class that implements the IFormRegionFactory interface. Create an instance of the form region class in the CreateFormRegion method of the form region factory class.

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Windows.Forms.Control
        System.Windows.Forms.ScrollableControl
          System.Windows.Forms.ContainerControl
            System.Windows.Forms.UserControl
              Microsoft.Office.Tools.Outlook.FormRegionControl

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

FormRegionControl Members

Microsoft.Office.Tools.Outlook Namespace