Spread WinForms 15
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcTextBox Class / OnDropDownClosing Method
A DropDownClosingEventArgs instance that contains the event data.


In This Topic
OnDropDownClosing Method (GcTextBox)
In This Topic
Raises the DropDownClosing event.
Syntax
'Declaration
 
Protected Overridable Sub OnDropDownClosing( _
   ByVal e As DropDownClosingEventArgs _
) 
 
'Usage
 
Dim instance As GcTextBox
Dim e As DropDownClosingEventArgs
 
instance.OnDropDownClosing(e)

Parameters

e
A DropDownClosingEventArgs instance that contains the event data.
Remarks
Raising an event invokes the event handler through a delegate. The OnDropDownClosing 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 OnDropDownClosing in a derived class, be sure to call the base class's OnDropDownClosing method so that registered delegates receive the event.
See Also