Share via


InkPicture.OnHandleCreated Method

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

Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in microsoft.ink.dll)

Syntax

'Declaration
Protected Overrides Sub OnHandleCreated ( _
    e As EventArgs _
)
'Usage
Dim e As EventArgs

Me.OnHandleCreated(e)
protected override void OnHandleCreated (
    EventArgs e
)
protected:
virtual void OnHandleCreated (
    EventArgs^ e
) override
protected void OnHandleCreated (
    EventArgs e
)
protected override function OnHandleCreated (
    e : EventArgs
)
Not applicable.

Parameters

  • e
    The EventArgsEventArgs object that contains the event data.

Remarks

Raising an event invokes the event handler through a delegate.

The OnHandleCreated 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 OnHandleCreated method of the base class so that registered delegates receive the event.

Platforms

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

InkPicture Class
InkPicture Members
Microsoft.Ink Namespace