FormRegion Members

Include Protected Members
Include Inherited Members

Represents a form region in an Outlook form.

The FormRegion type exposes the following members.

Properties

  Name Description
Public property Application Returns an Application object that represents the parent Outlook application for the object. Read-only. (Inherited from _FormRegion.)
Public property Class Returns an OlObjectClass constant indicating the object's class. Read-only. (Inherited from _FormRegion.)
Public property Detail Returns or sets a String (string in C#) representing the text displayed at runtime in the header after the display name of an adjoining form region. Read/write. (Inherited from _FormRegion.)
Public property DisplayName Returns a String (string in C#) representing the display name of the form region. Read-only. (Inherited from _FormRegion.)
Public property EnableAutoLayout Returns or sets a Boolean (bool in C#) that specifies whether to use the automatic layout resizing feature when designing form regions in the forms designer. Read/write (Inherited from _FormRegion.)
Public property Form Returns an Object representing the MSForms.UserForm object. Read-only. (Inherited from _FormRegion.)
Public property FormRegionMode Returns an OlFormRegionMode constant that indicates whether the form region is in a read page, compose page, or Reading Pane. Read-only. (Inherited from _FormRegion.)
Public property Inspector Returns an Inspector object representing the Inspector that hosts the form region. Read-only. (Inherited from _FormRegion.)
Public property InternalName Returns a String (string in C#) that represents the internal programmatic name of the form region as defined in the manifest for the form region. Read-only. (Inherited from _FormRegion.)
Public property IsExpanded Returns a Boolean (bool in C#) that indicates if the form region is expanded. Read-only. (Inherited from _FormRegion.)
Public property Item Returns an Object corresponding to the Outlook item bound to the form region. Read-only. (Inherited from _FormRegion.)
Public property Language Returns an Integer (int in C#) value that indicates the LCID for the current language. Read-only. (Inherited from _FormRegion.)
Public property Parent Returns the parent Object of the form region. Read-only. (Inherited from _FormRegion.)
Public property Session Returns the NameSpace object for the current session. Read-only. (Inherited from _FormRegion.)
Public property SuppressControlReplacement Returns or sets a Boolean (bool in C#) that disables Outlook from automatically replacing a Forms 2.0 control by a themed Outlook control at design time and runtime. Read/write. (Inherited from _FormRegion.)
Public property Visible Returns or sets a Boolean (bool for C#) value that indicates whether the form region is visible or hidden. Read/write. (Inherited from _FormRegion.)

Top

Methods

  Name Description
Public method Reflow Causes Outlook to recalculate the height of an adjoining form region to display all the visible controls in the form region. (Inherited from _FormRegion.)
Public method Select Makes the form region the active form region such that it becomes visible. (Inherited from _FormRegion.)
Public method SetControlItemProperty Binds an explicit built-in property or a custom property to a control in the form region. (Inherited from _FormRegion.)

Top

Events

  Name Description
Public event Close Represents the closing of the frame for a form region, which occurs just before the Close event of the Inspector associated with the Outlook item. (Inherited from FormRegionEvents_Event.)
Public event Expanded Occurs when the form region expands or collapses (Inherited from FormRegionEvents_Event.)

Top

See Also

Reference

FormRegion Interface

Microsoft.Office.Interop.Outlook Namespace