Provides a base class for all XAML markup extensions.
Inheritance Hierarchy
MarkupExtension
Remarks
Markup extensions return objects based on string attribute values or markup elements in XAML and/or can be used to serialize classes that do not fulfill XAML serialization constraints.
Type Details
- yfiles module
- view-component
- yfiles-umd modules
- All view modules
- Legacy UMD name
- yfiles.graphml.MarkupExtension
See Also
It is essential for custom class serialization to register both regular classes and MarkupExtension classes via addXamlNamespaceMapping.
Methods
Returns an object that is set as the value of the target property for this markup extension.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- serviceProvider - ILookup
- An object that can provide services for the markup extension.
Returns
- ↪any
- The object value to set on the property where the extension is applied.