A specialized subclass of the ItemEventArgs<T> class that is bound to the ILabel type and carries additional owner information.
Inheritance Hierarchy
EventArgs
ItemEventArgs<ILabel>
LabelEventArgs
Remarks
Since for some events (LabelRemoved) it is unclear what owner the label was owned by before the event, this event can be used to carry exactly that information.
Type Details
- yfiles module
- view-component
- yfiles-umd modules
- All view modules
- Legacy UMD name
- yfiles.graph.LabelEventArgs
Constructors
Initializes a new instance of the LabelEventArgs class.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- label - ILabel
- The label to assign to the item property.
- owner - ILabelOwner
- The previous owner of the label.
Properties
Gets the item that is the subject of the event.
Gets the owner of the label that owned the label before the event happened.