Serializer that produces XAML conforming output from the target object's reflection data.
Inheritance Hierarchy
XamlSerializer
Remarks
By default, the resulting XAML output follows the rules for normal XAML output. In addition, serialization can be fine tuned by applying GraphMLAttribute to the target object's class or some of its members.
Note that usually the type should be excluded from obfuscation, or its name should be declared with name. The same holds for specific members.
Type Details
- yfiles module
- view-graphml
- yfiles-umd modules
- view-graphml, view
- Legacy UMD name
- yfiles.graphml.XamlSerializer
See Also
Methods
Serialize the given object to a IXmlWriter
Remarks
This implementation already provides the toplevel XML element with an appropriate tag name.
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
- subject - Object
- The actual object
Constants
A singleton instance of this class.