FormRegionKindConstants Enum

Definition

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.

public enum FormRegionKindConstants
Inheritance
FormRegionKindConstants

Fields

Ofs 1

Specifies that the form region is imported from Outlook.

WindowsForms 0

Specifies that the form region is based on a user control.

Remarks

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.

Applies to