Search
ComponentEventArgs Members
Constructors Properties Methods
 


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

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

 Public Constructors

  Name Description

ComponentEventArgs

Initializes a new instance of the ComponentEventArgs class.

 Public Properties

  Name Description

adjustmentHandle

Gets the adjustment handle being moved by the user. (Inherited from ItemEventArgs.)

cancel

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

component

Gets the component for which the event was raised.

container

Gets the container a node has been added to or removed from. (Inherited from NodeEventArgs.)

context

Gets the canvas rendering context. (Inherited from ItemEventArgs.)

handled

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

hyperlink

Gets the hyperlink that was clicked inside a node. (Inherited from NodeEventArgs.)

item

Gets the diagram item for which the event is raised. (Inherited from ItemEventArgs.)

label

Gets the node label for which the event is raised. (Inherited from NodeEventArgs.)

mouseButton

Gets which mouse button has been pressed. (Inherited from ItemEventArgs.)

mousePosition

Gets the current mouse pointer position. (Inherited from ItemEventArgs.)

newText

Gets the text that has just been entered by the user. (Inherited from ItemEventArgs.)

node

Gets the node for which the event is raised. (Inherited from NodeEventArgs.)

oldText

Gets the text that had been displayed in the node before the user edited it. (Inherited from ItemEventArgs.)

 Public Methods

  Name Description

cancelDrag

Immediately cancels the creation or modification of the node. (Inherited from ItemEventArgs.)

 See Also