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!

UpDownBase.OnEditKeyDown

Raises the System.WinForms.UpDownBase.EditKeyDown event.

[Visual Basic]
Overridable Protected Sub OnEditKeyDown( _
   ByVal source As Object, _
   ByVal e As KeyEventArgs _
)
[C#]
protected virtual void OnEditKeyDown(
   object source,
   KeyEventArgs e
);
[C++]
protected: virtual void OnEditKeyDown(
   Object* source,
   KeyEventArgs* e
);
[JScript]
protected function OnEditKeyDown(
   source : Object,
   e : KeyEventArgs
);

Parameters

source
The source of the event.
e
A KeyEventArgs that contains the event data.

Remarks

If the InterceptArrowKeys property is set to true and the key being pressed is the UP ARROW key, the UpButton method is called. Likewise, if the key being pressed is the DOWN ARROW key, the DownButton method is called.

Notes to Implementers: When overridden in a derived class, be sure to call the base class's OnEditKeyDown method to ensure that arrow keys are still intercepted when pressed.

See Also

UpDownBase Class | UpDownBase Members | System.WinForms Namespace | InterceptArrowKeys | UpButton | DownButton