{
  "$schema": "https://ai.syncfusion.com/schema/registry-item.json",
  "name": "spreadsheet-cell-customization",
  "framework": "wpf",
  "type": "registry:component",
  "component": "Spreadsheet",
  "variant": "cell-customization",
  "dependencies": [
    "Syncfusion.SfSpreadsheet.WPF"
  ],
  "description": "SfSpreadsheet with custom cell styling and conditional formatting templates.",
  "meta": {
    "essentialStudioRelease": "2026 Volume 3 (v35.1.37)",
    "license": "commercial-or-community",
    "licenseNote": "The Syncfusion package is licensed. The composition in this file is source you own and edit. See https://ai.syncfusion.com/licensing.md",
    "requiresLicenseKey": true,
    "requiresServerEndpoint": false,
    "platformIndex": "https://ai.syncfusion.com/wpf/llms.txt",
    "skillPack": "syncfusion/wpf-ui-components-skills",
    "docs": "https://ai.syncfusion.com/gallery/wpf/spreadsheet-cell-customization.md"
  },
  "files": [
    {
      "target": "src/components/spreadsheet-cell-customization/Spreadsheet.xaml",
      "content": "<UserControl\n    x:Class=\"SpreadsheetCellCustomization.MainWindow\"\n    xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\"\n    xmlns:x=\"http://schemas.microsoft.com/winfx/2006/xaml\"\n    xmlns:syncfusion=\"http://schemas.syncfusion.com/wpf\"\n    SnapsToDevicePixels=\"True\">\n\n    <UserControl.Resources>\n        <ResourceDictionary>\n            <ResourceDictionary.MergedDictionaries>\n                <ResourceDictionary Source=\"/Syncfusion.SfSpreadsheet.WPF;component/Spreadsheet/Themes/Generic.xaml\" />\n            </ResourceDictionary.MergedDictionaries>\n\n            <!-- The template that renders a task row with an expander arrow and a\n                 status badge instead of the plain cell content. -->\n            <DataTemplate x:Key=\"TaskCellTemplate\">\n                <Border Margin=\"4,2\"\n                        Padding=\"6,2\"\n                        Background=\"#EEF3FA\"\n                        BorderBrush=\"#C7D3E3\"\n                        BorderThickness=\"1\"\n                        CornerRadius=\"3\">\n                    <StackPanel Orientation=\"Horizontal\" VerticalAlignment=\"Center\">\n                        <TextBlock Margin=\"0,0,8,0\"\n                                   VerticalAlignment=\"Center\"\n                                   FontWeight=\"Bold\"\n                                   Foreground=\"#1F2933\"\n                                   Text=\"{Binding CellValue}\" />\n                        <Border Padding=\"6,1\"\n                                Background=\"#D6E4F7\"\n                                CornerRadius=\"7\">\n                            <TextBlock FontSize=\"10\"\n                                       Foreground=\"#1F4E79\"\n                                       Text=\"CUSTOM\" />\n                        </Border>\n                    </StackPanel>\n                </Border>\n            </DataTemplate>\n        </ResourceDictionary>\n    </UserControl.Resources>\n\n    <Grid>\n        <Grid.RowDefinitions>\n            <RowDefinition Height=\"Auto\" />\n            <RowDefinition Height=\"*\" />\n        </Grid.RowDefinitions>\n\n        <!-- The header of the sample -->\n        <Border Grid.Row=\"0\"\n                Padding=\"12,8\"\n                Background=\"#F3F6FA\"\n                BorderBrush=\"#D5DCE4\"\n                BorderThickness=\"0,0,0,1\">\n            <StackPanel Orientation=\"Horizontal\">\n                <TextBlock x:Name=\"HeaderTextBlock\" Foreground=\"#52606D\" />\n                <Button x:Name=\"applyTemplateButton\"\n                        Margin=\"12,0,0,0\"\n                        Padding=\"12,3\"\n                        Click=\"applyTemplateButton_Click\"\n                        Content=\"Apply Custom Template\" />\n            </StackPanel>\n        </Border>\n\n        <!-- The workbook whose task column uses the custom cell template -->\n        <syncfusion:SfSpreadsheet x:Name=\"spreadsheet\"\n                                  Grid.Row=\"1\"\n                                  AllowExtendRowColumnCount=\"False\"\n                                  FormulaBarVisibility=\"Collapsed\"\n                                  WorkbookLoaded=\"spreadsheet_WorkbookLoaded\" />\n    </Grid>\n</UserControl>\n"
    }
  ]
}