The event arguments used by query-name to override automatic name determination in GraphML.
Remarks
If the event handler determines that it can resolve type to an 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
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 - Constructor
- The type that should be mapped.
Properties
Gets the context in which the type shall be mapped.
Property Value
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.Property Value
true
if this event has been handled; false
otherwise.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.
Gets the type for which the XML name is queried.