By default, when a symbol is dragged and dropped from symbol palette, a clone of the symbol is created using XamlWriter and XamlReader. There are some disadvantages on using Xaml Reader/Writer:
This cloning of symbols is overridden in application level and it gives full control on the object to be cloned. Refer the following code example on how to return a connector as a clone of symbol.
diagramControl - refers to the instance of DiagramControl.
Note: This code shows how to override cloning of symbols, for further details on how to add this symbol in palette, refer the online help documentation.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|