_FormRegion.IsExpanded Property

Returns a Boolean (bool in C#) that indicates if the form region is expanded. Read-only.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

[DispIdAttribute()]
bool IsExpanded { get; }

Property Value

Type: System.Boolean

This property applies to adjoining form regions only and is ignored for separate form regions.

Outlook always first loads a form region in an expanded state and sets IsExpanded to True. If the initial state of the form region is to be collapsed, then Outlook immediately closes the form region, fires the Expanded event with the Expand parameter being False, and sets IsExpanded to False.

Show: