Поделиться через


InkOverlay.OnMouseDown - метод

Обновлен: Ноябрь 2007

Allows derived classes to modify the default behavior of the MouseDown event.

Пространство имен:  Microsoft.Ink
Сборка:  Microsoft.Ink (в Microsoft.Ink.dll)

Синтаксис

'Декларация
Protected Overridable Sub OnMouseDown ( _
    e As CancelMouseEventArgs _
)
'Применение
Dim e As CancelMouseEventArgs

Me.OnMouseDown(e)
protected virtual void OnMouseDown(
    CancelMouseEventArgs e
)
protected:
virtual void OnMouseDown(
    CancelMouseEventArgs^ e
)
protected void OnMouseDown(
    CancelMouseEventArgs e
)
protected function OnMouseDown(
    e : CancelMouseEventArgs
)

Параметры

Заметки

Raising an event invokes the event handler through a delegate.

In derived classes, this method is called only if a delegate is attached to the MouseDown event.

When overriding this method in a derived class, call the OnMouseDown 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

См. также

Ссылки

InkOverlay Класс

InkOverlay - члены

Microsoft.Ink - пространство имен

InkOverlay.MouseDown