InkPicture.OnKeyDown - метод
Обновлен: Ноябрь 2007
Allows derived classes to modify the default behavior of the KeyDown event.
Пространство имен: Microsoft.Ink
Сборка: Microsoft.Ink (в Microsoft.Ink.dll)
Синтаксис
'Декларация
Protected Overrides Sub OnKeyDown ( _
e As KeyEventArgs _
)
'Применение
Dim e As KeyEventArgs
Me.OnKeyDown(e)
protected override void OnKeyDown(
KeyEventArgs e
)
protected:
virtual void OnKeyDown(
KeyEventArgs^ e
) override
protected void OnKeyDown(
KeyEventArgs e
)
protected override function OnKeyDown(
e : KeyEventArgs
)
Параметры
- e
Тип: System.Windows.Forms.KeyEventArgs
The KeyEventArgsobject that contains the event data.
Заметки
Raising an event invokes the event handler through a delegate.
The OnKeyDown method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
When overriding this method in a derived class, call the OnKeyDown method of the base class so that registered delegates receive the event.
Платформы
Windows Vista
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0
См. также
Ссылки
Microsoft.Ink - пространство имен