Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

InkOverlay.OnMouseDown Method

InkOverlay.OnMouseDown Method

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


Visual Basic .NET Overridable Protected Sub OnMouseDown( _
ByVal e As CancelMouseEventArgs _
C# protected virtual void OnMouseDown(
CancelMouseEventArgs e
Managed C++ protected: virtual void OnMouseDown(
CancelMouseEventArgs *e


e Microsoft.Ink.CancelMouseEventArgs. The CancelMouseEventArgs object that contains the event data.


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.

See Also

© 2015 Microsoft