FormRegionKindConstants Enumeration
Contains constants that specify whether the form region that a form region factory creates is based on a user control or an Outlook Form Storage (.ofs) file.
Assembly: Microsoft.Office.Tools.Outlook (in Microsoft.Office.Tools.Outlook.dll)
| Member name | Description | |
|---|---|---|
| Ofs | Specifies that the form region is imported from Outlook. | |
| WindowsForms | Specifies that the form region is based on a user control. |
If you create a form region in code, return one of these constants in the Kind property of the form region factory class. A form region factory class is any class that you create that implements IFormRegionFactory.
The add-in gets the value of the Kind property to determine what type of form region to create.
If you return WindowsForms in the Kind property, the form region that the form region factory creates must inherit from Control.
If you return Ofs in the Kind property, the form region that the form region factory creates must inherit from ImportedFormRegion.