Search
Picker.dropDownShow Event
See Also
 






Raised when the dropdown is shown.

Namespace: MindFusion.Common.UI
File: Picker.js

 Syntax

JavaScript  Copy Code

EventDispatcher dropDownShow

 Event Data

The event handler method receives the following arguments:
sender
A Picker instance, which is the source of the event. This object will be passed to the handler function as the first argument.
args
An EventArgs instance, which contains event data. This object will be passed to the handler function as the second argument.

 Example

The following code handles the dropDownShow event of a DateTimePicker:

JavaScript  Copy Code

// Handle the dropDownShow event.
dateTimePicker.dropDownShow.addEventListener(handleDropDownShow);

// This is the handler function of the dropDownShow event.
function handleDropDownShow(sender, args) {
  if(sender.state === u.ValidationState.Valid)
    {
      //do something
    }

}

 See Also