diff --git a/WindowsForms/Docking-Manager/Serialization.md b/WindowsForms/Docking-Manager/Serialization.md index 739b02e7a..594bcd17b 100644 --- a/WindowsForms/Docking-Manager/Serialization.md +++ b/WindowsForms/Docking-Manager/Serialization.md @@ -441,6 +441,12 @@ Me.dockingManager1.LoadDesignerDockState() {% endtabs %} +## Restore to current state + +When the `DockingManager` load a saved layout using the [LoadDockState](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.DockingManager.html#Syncfusion_Windows_Forms_Tools_DockingManager_LoadDockState) method, the process may fail if an error occurs during deserialization. In such cases, the saved layout is not applied, and the current docking layout remains unchanged to ensure a consistent user experience. + +The LoadDockState method returns `true` when the layout is successfully loaded and applied. If loading fails, the method returns `false`, and no changes are made to the existing layout. + ## Serialize dynamically added children By default, the docking manager cannot deserialize its saved layout properly, when its child collection is modified after the DockState is saved. diff --git a/WindowsForms/Menu/Adding-menu-items-via-designer-images/parentBarItemNetCore.gif b/WindowsForms/Menu/Adding-menu-items-via-designer-images/parentBarItemNetCore.gif new file mode 100644 index 000000000..0a0d2c03d Binary files /dev/null and b/WindowsForms/Menu/Adding-menu-items-via-designer-images/parentBarItemNetCore.gif differ diff --git a/WindowsForms/Menu/Adding-menu-items-via-designer.md b/WindowsForms/Menu/Adding-menu-items-via-designer.md index 121008867..d450f6607 100644 --- a/WindowsForms/Menu/Adding-menu-items-via-designer.md +++ b/WindowsForms/Menu/Adding-menu-items-via-designer.md @@ -38,6 +38,14 @@ The [ParentBarItem](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windo ![ParentBarItem](Adding-menu-items-via-designer-images/parentBarItem.gif) +### Arrange controls through drag and drop within form + +`ParentBarItem` can be dragged and dropped into a custom form through the `Customize` dialog. This functionality simplifies the process of adding and organizing bar items within the application. + +![ParentBarItemNetCore](Adding-menu-items-via-designer-images/parentBarItemNetCore.gif) + +Note: This UI is only applicable for `.NET Core`. + ## Adding drop down item The [DropDownBarItem](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.XPMenus.DropDownBarItem.html) is a type of bar item, which will display a popup menu when clicked. A custom control can also be loaded and displayed when the menu item is clicked. This can be done by assigning the required component to the [PopupControlContainer](https://help.syncfusion.com/cr/windowsforms/Syncfusion.Windows.Forms.Tools.XPMenus.DropDownBarItem.html#Syncfusion_Windows_Forms_Tools_XPMenus_DropDownBarItem_PopupControlContainer) property of the drop down bar item.