C

BendEventArgs

A specialized subclass of the ItemEventArgs<T> class that is bound to the IBend type and carries additional owner and index information.

Remarks

Since for some events (bend-removed) it is unclear what owner the bend was owned by before the event, this event can be used to carry exactly that information.

Members

Show:

Constructors

Initializes a new instance of the BendEventArgs class.

Parameters

bend: IBend
The bend to assign to the item property.
owner: IEdge
The previous owner of the bend.
index: number
The previous index of the bend in the bends list.

Properties

Gets the former index of the bend in the bends list.
readonlyfinal

Property Value

The index of the bend before the event happened.

See Also

Developer's Guide
Gets the item that is the subject of the event.
Gets the owner of the bend that owned the bend before the event happened.
readonlyfinal

Property Value

The old owner.

See Also

Developer's Guide