_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)
Syntax
'Declaration
<DispIdAttribute()> _
ReadOnly Property IsExpanded As Boolean
Get
'Usage
Dim instance As _FormRegion
Dim value As Boolean
value = instance.IsExpanded
[DispIdAttribute()]
bool IsExpanded { get; }
Property Value
Type: System.Boolean
Remarks
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.