Search
ItemEventArgs Members
Constructors Properties Methods
 


Contains the arguments passed to handlers of item-related events.

The following tables list the members exposed by the ItemEventArgs type.

 Public Constructors

  Name Description

ItemEventArgs

Initializes a new instance of the ItemEventArgs class.

 Public Properties

  Name Description

adjustmentHandle

Gets the adjustment handle being moved by the user.

cancel

Gets or sets a value indicating whether to allow the current operation. (Inherited from CancelEventArgs.)

context

Gets the canvas rendering context.

handled

Gets or sets a value indicating whether the event has been handled. (Inherited from EventArgs.)

item

Gets the diagram item for which the event is raised.

mouseButton

Gets which mouse button has been pressed.

mousePosition

Gets the current mouse pointer position.

newText

Gets the text that has just been entered by the user.

oldText

Gets the text that had been displayed in the node before the user edited it.

 Public Methods

  Name Description

cancelDrag

Immediately cancels the creation or modification of the node.

 See Also