The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
BABalavasanth Syncfusion Team May 14, 2009 01:29 PM UTC
Hi Aishwaria,
Thanks for your interests in Syncfusion products.
We do not have an explicit event to capture the close event of the Docking Manager control, but you can easily achieve this by iterating to each and every children of the frame work element(DockingManager control) and check a condition for the hidden state because while we close the dock panel, it moves to the Hidden state. All this actions can be performed in the state changed event of the Docking Manager control. kindly make use of the code snippet for more idea.
[XAML]
[C# Code]
private void DockingManager_DockStateChanged(FrameworkElement sender, Syncfusion.Windows.Tools.Controls.DockStateEventArgs e) { //iterate through each and every element foreach (FrameworkElement felement in dockingmanager.Children) { //check the states if (DockingManager.GetState(felement) == DockState.Hidden) { //perform your action here } } }