FormRegionEvents_Event.Expanded Event

Occurs when the form region expands or collapses

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

Syntax

'Declaration
Event Expanded As FormRegionEvents_ExpandedEventHandler
'Usage
Dim instance As FormRegionEvents_Event
Dim handler As FormRegionEvents_ExpandedEventHandler

AddHandler instance.Expanded, handler
event FormRegionEvents_ExpandedEventHandler Expanded

Remarks

This event cannot be cancelled.

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.

See Also

Reference

FormRegionEvents_Event Interface

FormRegionEvents_Event Members

Microsoft.Office.Interop.Outlook Namespace

Microsoft.Office.Interop.Outlook.FormRegionEvents_ExpandedEventHandler