From 71f31143c8a4c72112ee0e20a88689f3a9fe5445 Mon Sep 17 00:00:00 2001 From: Karthick-Arjunan Date: Fri, 28 Nov 2025 13:54:53 +0530 Subject: [PATCH] 993580-Updated the README.md file. --- README.md | 41 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 39 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b7596b7..845f359 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,42 @@ # Working with WPF DockingManager and MVVM -This repository contains a sample that shows the WPF DockingManager in MVVM application to create MVVM adapter. +This sample demonstrates how to use **Syncfusion DockingManager** in a WPF application following the **MVVM pattern**. It shows how to create an MVVM adapter for DockingManager to manage docking windows without breaking the MVVM principles. + +## Features in This Sample +- **MVVM Integration**: Implements DockingManager in a WPF application using MVVM. +- **Adapter Pattern**: Provides an adapter to handle DockingManager operations in a ViewModel-friendly way. +- **Dynamic Docking Windows**: Allows adding and managing docking windows programmatically. +- **Document Container Support**: Enables tabbed document interface using `UseDocumentContainer` property. + +## Key Concepts +- **DockingManager**: A layout control that allows docking, floating, and tabbed windows. +- **MVVM Adapter**: Bridges the gap between DockingManager and ViewModel by exposing commands and properties. + +## XAML Overview +```xml + + + + + +``` + +## How It Works +1. The `DockingManager` is placed inside a `UserControl`. +2. An MVVM adapter is implemented to handle docking operations via commands and bindings. +3. The `UseDocumentContainer` property enables tabbed document interface for child windows. + +## Benefits of MVVM with DockingManager +- Decouples UI logic from business logic. +- Improves testability and maintainability. +- Allows dynamic layout management through ViewModel. + +## Documentation +For more details, refer to the official Syncfusion documentation: +[DockingManager MVVM Pattern](https://help.syncfusion.com/wpf/docking/pattern-and-practices#mvvm) -https://help.syncfusion.com/wpf/docking/pattern-and-practices#mvvm