Event arguments for item events in GraphBuilder, AdjacencyGraphBuilder, and TreeBuilder.
Inheritance Hierarchy
EventArgs
ItemEventArgs<TItem>
GraphBuilderItemEventArgs
Type Parameters
- TItem
- The type of the item contained in the argument.
- TDataItem
- The type of object that the item was created from.
Type Details
- yfiles module
- view-component
- yfiles-umd modules
- All view modules
- Legacy UMD name
- yfiles.binding.GraphBuilderItemEventArgs
Constructors
Creates a new instance of the GraphBuilderItemEventArgs<TItem,TObject> class with the given graph, item, and source object.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- graph - IGraph
- The graph that can be used to modify
item
. - item - TItem
- The item created from
dataItem
. - dataItem - TDataItem
- The object
item
was created from.
Properties
Gets the object the item has been created from.
Gets the item that is the subject of the event.