Event arguments for calls to the QueryReferenceId or QueryReferenceId events.
Inheritance Hierarchy
EventArgs
QueryReferenceIdEventArgs
Remarks
Event handling code should inspect the value property and decide whether to set the referenceId and/or referenceType property in order to handle the event.
Type Details
- yfiles module
- view-graphml
- yfiles-umd modules
- view-graphml, view
- Legacy UMD name
- yfiles.graphml.QueryReferenceIdEventArgs
See Also
Constructors
Creates a new instance.
Remarks
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- context - IWriteContext
- The current write context that can be used by the event handler for additional information.
- value - Object
- The referenced object instance.
Properties
Gets the current write context that can be used by the event handler for additional information.
Gets whether the last event handler invocation has actually handled the event.
Gets or sets the reference id that should be evaluated by the event handler.
Gets or sets the type of the reference being queried.
Remarks
Setting this property automatically sets handled to
true
. By default this property is EXTERNAL so values that are given a referenceId are treated as external references that are not serialized to the GraphML. Setting this property to INTERNAL and specifying a referenceId will make the reference mechanism use the provided reference but will cause it to serialize the value to the GraphML, nevertheless.