Spread WinForms 15
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcNumber Class / OnPopUpClosing Method
A PopUpClosingEventArgs instance contains the event data.


In This Topic
OnPopUpClosing Method
In This Topic
Raises the PopUpClosing event.
Syntax
'Declaration
 
Protected Overridable Sub OnPopUpClosing( _
   ByVal e As PopUpClosingEventArgs _
) 
 
'Usage
 
Dim instance As GcNumber
Dim e As PopUpClosingEventArgs
 
instance.OnPopUpClosing(e)

Parameters

e
A PopUpClosingEventArgs instance contains the event data.
Remarks
Raising an event invokes the event handler through a delegate.

The OnPopUpClosing method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

Notes to Inheritors:

When overriding OnPopUpClosing in a derived class, be sure to call the base class's OnPopUpClosing method so that registered delegates receive the event.

See Also