From cb2039c125fa1961d5ccd921fd4a1c7e7e095967 Mon Sep 17 00:00:00 2001 From: deepa_thiruppathy Date: Thu, 10 Nov 2022 11:14:49 +0530 Subject: [PATCH] WPF-62008 Correct inaccurate or outdated code samples and Code snippets in Stencil UG --- wpf/Diagram/Stencil/Stencil.md | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/wpf/Diagram/Stencil/Stencil.md b/wpf/Diagram/Stencil/Stencil.md index fcbcb86602..f94c3a734e 100644 --- a/wpf/Diagram/Stencil/Stencil.md +++ b/wpf/Diagram/Stencil/Stencil.md @@ -56,7 +56,7 @@ The diagram elements such as [NodeViewModel](https://help.syncfusion.com/cr/wpf/ - + @@ -104,7 +104,7 @@ The diagram elements such as [NodeViewModel](https://help.syncfusion.com/cr/wpf/ - + {% endhighlight %} @@ -194,11 +194,6 @@ ContainerViewModel container = new ContainerViewModel() (stencil.SymbolSource as SymbolCollection).Add(grp); (stencil.SymbolSource as SymbolCollection).Add(container); -//Adding the ISymbol to the SymbolCollection. -public class SymbolCollection : ObservableCollection -{ -} - {% endhighlight %} {% endtabs %} @@ -234,10 +229,10 @@ The [SymbolViewModel](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diag - + - + {% endhighlight %} @@ -264,11 +259,6 @@ SymbolViewModel symbol = new SymbolViewModel() (stencil.SymbolSource as SymbolCollection).Add(imagenode); (stencil.SymbolSource as SymbolCollection).Add(symbol); -//Adding the ISymbol to the SymbolCollection. -public class SymbolCollection : ObservableCollection -{ -} - {% endhighlight %} {% endtabs %}