ReaderSvgGetCustomSvgElementNameCallback Field |
Namespace: Ab2d
public ReaderSvgGetCustomSvgElementNameDelegate GetCustomSvgElementNameCallback
GetCustomSvgElementNameCallback can be used to provide custom naming of WPF objects created from svg elements.
Note that when IsCorrectingNamesForWpf is true, the name can be corrected after calling the GetCustomSvgElementNameCallback.
The GetCustomSvgElementNameCallback get two parameters:
- svg name defined in svg file (can be null)
- WPF objects created from svg element.
The GetCustomSvgElementNameCallback can also return null or empty string. In this case the name will not be written to NamedObjects dictionary.