Packagecom.yworks.support
Classpublic class MarkupExtension
InheritanceMarkupExtension Inheritance Object
Subclasses NodeScaledParameterExtension, RotatedSliderEdgeLabelModelExtension, RotatedSliderLabelModelParameterExtension

Provides a base class for all XAML markup extensions.

Markup extensions return objects based on string attribute values or markup elements and/or can be used for classes that cannot be automatically (de)serialized (e.g., because there is no default constructor).



Public Methods
 MethodDefined By
  
provideValue(context:ILookup):Object
Implementations of subclasses return an object that had been specified as target attribute of the markup extension.
MarkupExtension
Method Detail
provideValue()method
public function provideValue(context:ILookup):Object

Implementations of subclasses return an object that had been specified as target attribute of the markup extension.

Parameters

context:ILookup — An object that can provide services for the markup extension.

Returns
Object — The object value that shall be set for the attribute the extension is meant to be used for.