NShape Reference
Tool.ProcessMouseEvent Method

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape > Tool Class >

NShape Reference
Tool.ProcessMouseEvent Method

Previous pageReturn to chapter overviewNext page

Processes a mouse event in the display.

Syntax

public virtual bool ProcessMouseEvent(IDiagramPresenter diagramPresenter, MouseEventArgsDg e)

Description

The display delegates the mouse event to its current tool.

Parameters

Name

Description

diagramPresenter

Display from which the event originates.

e

Description of the mouse event.

Return Value

Returns true if the mouse event was handled by the tool or false in case the display should handle the mouse event.

Exceptions

Exception

Condition

ArgumentNullException

The given IDiagramPresenter is null.