NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DateTimePicker.OnFormatQuery

The FormatQuery event occurs when the DateTimePicker needs to determine the dimensions of the string that would be displayed for a given value.

[Visual Basic]
Overridable Protected Sub OnFormatQuery( _
   ByVal dtfqevent As DateTimeFormatQueryEventArgs _
)
[C#]
protected virtual void OnFormatQuery(
   DateTimeFormatQueryEventArgs dtfqevent
);
[C++]
protected: virtual void OnFormatQuery(
   DateTimeFormatQueryEventArgs* dtfqevent
);
[JScript]
protected function OnFormatQuery(
   dtfqevent : DateTimeFormatQueryEventArgs
);

Parameters

dtfqevent
Event Data

See Also

DateTimePicker Class | DateTimePicker Members | System.WinForms Namespace | AddOnFormatQuery | RemoveOnFormatQuery | cor.comctl.DateTimeFormatQueryEventArgs