WPF Adding DockPanel to StackPanel dynamically C#
After some event, I want to add another Dockpanel to StackPanel after the button event occurs in C# for WPF. I am doing it my adding Dockpanel to StackPanel, but I am getting exception.

Could you please help me out with this problem?

Regards,
Dev

WPF Adding DockPanel to StackPanel dynamically C#
===

After some event, I want to add another Dockpanel to StackPanel after the button event occurs in C# for WPF. I am doing it my adding Dockpanel to StackPanel, but I am getting exception.

Could you please help me out with this problem?

Regards,
Dev
