From e89a2285a93a845aba7f0453f8d65eac6d5cdf1b Mon Sep 17 00:00:00 2001 From: Gowtham-SF4769 Date: Fri, 24 Oct 2025 11:33:42 +0530 Subject: [PATCH] MAUI-978225-[others][maui]: updated README file. --- README.md | 149 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 148 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 57b27c4..7cc8985 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,149 @@ # How-to-Serialize-template-column-content-in-.NET-MAUI-DataGrid--SfDataGrid- -This demo shows how to Serialize template column content in .NET MAUI DataGrid (SfDataGrid)? + +This sample shows how to serialize and deserialize template column content in the .NET MAUI DataGrid (SfDataGrid). + +The example demonstrates placing a `DataGridTemplateColumn` with a `CellTemplate` (defined in XAML resources), wiring a custom `DataGridSerializationController` to preserve template column configuration, and using simple Serialize/Deserialize buttons to write/read the grid state to an XML file in app data. + +**Refer to the official UG for more details:** + +- [Getting Started with .NET MAUI DataGrid](https://help.syncfusion.com/maui/datagrid/getting-started) +- [Serialization and Deserialization in .NET MAUI DataGrid (SfDataGrid)](https://help.syncfusion.com/maui/datagrid/serialization) + +## XAML + +The grid includes a `DataGridTemplateColumn` whose `CellTemplate` is stored in page resources with x:Key="cellTemplate". + +```xml + + + + + + + +