Table of Contents

Method RaiseClosing

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

RaiseClosing(EventArgs, bool)

Raises the "Closing" and "Closed" events.

void RaiseClosing(EventArgs e, bool recursive = true)

Parameters

e EventArgs

An EventArgs instance containing the event data.

recursive bool

The bool value indicating whether the closing event should be raised for child items.

Remarks

This method is typically called to notify subscribers that the associated object is closing. Ensure that any necessary cleanup or finalization is performed before invoking this method.