Articles in this section
Category / Section

What is the event that is raised before the Docked child is closed in the DockingManager?

1 min read

WindowClosingEvent:

This event is used to handle the floating child and docked child of the DockingManager that gets closed.

C#

//Code shows how to use the windowclosing event in the DockingManager.
using Syncfusion.Windows.Tools.Controls;
namespace DockingManager
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
        DockingManager dockingmanager = new DockingManager();
        dockingmanager.WindowClosing += dockingmanager_WindowClosing;
        }
 //window closing event used to raise the event on closing dock and float child
        void dockingmanager_WindowClosing(object sender, WindowClosingEventArgs e)
        {
        }
    }
    }

 

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied