Assigns a delegate to the formatQuery event.
public final void addOnFormatQuery( DateTimeFormatQueryEventHandler value )
value
The DateTimeFormatQueryEventHandler delegate to be notified when the event occurs.
Passing an event handler as a parameter to this method is equivalent to setting the formatQuery event to that method in the Properties window. The formatQuery event occurs when the DateTimePicker control needs to determine the dimensions of the string that would be displayed for a specified date and time value.
See Also removeOnFormatQuery