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


InkPicture.OnPainting - метод

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

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

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

Синтаксис

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

Me.OnPainting(e)
protected virtual void OnPainting(
    InkOverlayPaintingEventArgs e
)
protected:
virtual void OnPainting(
    InkOverlayPaintingEventArgs^ e
)
protected void OnPainting(
    InkOverlayPaintingEventArgs e
)
protected function OnPainting(
    e : InkOverlayPaintingEventArgs
)

Параметры

Заметки

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 Painting event.

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

См. также

Ссылки

InkPicture Класс

InkPicture - члены

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

InkPicture.Painting