InkEdit.OnStroke - метод
Обновлен: Ноябрь 2007
Allows derived classes to modify the default behavior of the Stroke event.
Пространство имен: Microsoft.Ink
Сборка: Microsoft.Ink (в Microsoft.Ink.dll)
Синтаксис
'Декларация
Protected Overridable Sub OnStroke ( _
e As InkEditStrokeEventArgs _
)
'Применение
Dim e As InkEditStrokeEventArgs
Me.OnStroke(e)
protected virtual void OnStroke(
InkEditStrokeEventArgs e
)
protected:
virtual void OnStroke(
InkEditStrokeEventArgs^ e
)
protected void OnStroke(
InkEditStrokeEventArgs e
)
protected function OnStroke(
e : InkEditStrokeEventArgs
)
Параметры
- e
Тип: Microsoft.Ink.InkEditStrokeEventArgs
The InkEditStrokeEventArgs object that contains the event data.
Заметки
Raising an event invokes the event handler through a delegate.
The OnStroke 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 OnStroke 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