Freigeben über


InkCollectorMouseUpEventHandler Delegate

InkCollectorMouseUpEventHandler Delegate

Represents the method that handles the MouseUp event of an InkCollector.

Definition

Visual Basic .NET Public Delegate Sub InkCollectorMouseUpEventHandler( _
ByVal sender As Object, _
ByVal e As CancelMouseEventArgs _
)
C# public delegate void InkCollectorMouseUpEventHandler(
object sender,
CancelMouseEventArgs e
);
Managed C++ public: __gc __delegate void InkCollectorMouseUpEventHandler(
Object *sender,
CancelMouseEventArgs *e
);

Parameters

sender System.Object. [in] Specifies the source InkCollector of this event.
e Microsoft.Ink.CancelMouseEventArgs. [in] Specifies the CancelMouseEventArgs object that contains the event data.

Delegate Information

Namespace Microsoft.Ink
Assembly Microsoft.Ink (microsoft.ink.dll)
Strong Name Microsoft.Ink, Version=1.7.4009.0, Culture=neutral, PublicKeyToken=a2870d9cc4d021c8

Remarks

When you create an InkCollectorMouseUpEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For performance reasons, the default event interest is off but is turned on automatically in managed code if you add an event handler.

To improve real-time ink performance, hide or show the mouse cursor in the InkCollectorMouseDownEventHandler and InkCollectorMouseUpEventHandler delegates.

Warning: Some controls rely on a specific relationship between MouseDown, MouseMove, and MouseUp events. Cancelling these events may have unanticipated results.

See Also