The event arguments used by QueryName to override automatic name determination in GraphML.
Remarks
If the event handler determines that it map resolve type to a xml name, it should place the result into the result property and thus mark the event as handled.
It is valid to provide only part of the XML name by setting the other part to null. In that case, the default name determination rules are used for that part.
Type Details
- yfiles module
- view-graphml
- yfiles-umd modules
- view-graphml, view
- Legacy UMD name
- yfiles.graphml.QueryNameEventArgs
Constructors
Initializes a new instance of the QueryNameEventArgs class.
Parameters
A map of options to pass to the method.
- context - IWriteContext
- The context in which the lookup shall take place.
- type - Class
- The type that should be mapped.
Properties
Gets the context in which the type shall mapped.
Gets or sets a value indicating whether this QueryNameEventArgs is handled.
Remarks
true
indicates to the event source that the result has been assigned and that the event should not be propagated to further listeners.Gets or sets the result of the name query, which is null
initially.
Remarks
Setting this property will automatically set the handled property to true
.
It is valid to provide only part of the XML name by setting the other part to null. In that case, the default name determination rules are used for that part.