Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcTextBox Class / DropDownClosing Event


In This Topic
    DropDownClosing Event (GcTextBox)
    In This Topic
    Occurs before a drop-down window is closed.
    Syntax
    'Declaration
     
    
    Public Event DropDownClosing As EventHandler(Of DropDownClosingEventArgs)
    'Usage
     
    
    Dim instance As GcTextBox
    Dim handler As EventHandler(Of DropDownClosingEventArgs)
     
    AddHandler instance.DropDownClosing, handler
    public event EventHandler<DropDownClosingEventArgs> DropDownClosing
    Event Data

    The event handler receives an argument of type DropDownClosingEventArgs containing data related to this event. The following DropDownClosingEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets or sets a value that indicates whether to synchronize data to the control from the drop-down when it's closing.  
    Gets or sets the value from the drop-down dialog.  
    Remarks
    This event is raised if the drop-down window is being closed by either a programmatic modification or user interaction.
    See Also