 |
ReaderSvgBeforeWpfObjectCreatedDelegate Delegate |
Namespace:
Ab2d
Assembly:
Ab2d.ReaderSvg (in Ab2d.ReaderSvg.dll) Version: 7.1.7295.1040
Syntaxpublic delegate FrameworkElement BeforeWpfObjectCreatedDelegate(
string svgElementOuterXml,
string objectName,
IAddChild parentObject
)
Parameters
- svgElementOuterXml
- Type: SystemString
OuterXml text for the svg element - objectName
- Type: SystemString
name of the objects - read from svg element attributes based on the value of the NamedObjectsSource - parentObject
- Type: System.Windows.MarkupIAddChild
parent WPF object that the created objects will be added to
Return Value
Type:
FrameworkElementWhen a WPF object as FrameworkElement is returned, then it is added to the parentObject. When null is returned, then standard ReaderSvg code is used to create a WPF object from the svg element.
See Also