{
  "$schema": "https://ai.syncfusion.com/schema/registry-item.json",
  "name": "grid-data-template-cell",
  "framework": "wpf",
  "type": "registry:component",
  "component": "Grid",
  "variant": "data-template-cell",
  "dependencies": [
    "Syncfusion.SfGrid.WPF"
  ],
  "description": "GridControl with per-cell DataTemplates rendering TextBox, Slider, TextBlock, Image, and ProgressBar editors bound to CellBoundValue.",
  "meta": {
    "essentialStudioRelease": "2026 Volume 2 (v34.1.29)",
    "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/grid-data-template-cell.md"
  },
  "files": [
    {
      "target": "src/components/grid-data-template-cell/Grid.xaml",
      "content": "﻿<democommon:DemoControl\n    xmlns:democommon=\"clr-namespace:syncfusion.demoscommon.wpf;assembly=syncfusion.demoscommon.wpf\" x:Class=\"syncfusion.gridcontroldemos.wpf.DataTemplateCell\"\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\" VerticalAlignment=\"Top\" HorizontalAlignment=\"Left\"\n                             Background=\"White\">\n    <democommon:DemoControl.Resources>\n\n        <DataTemplate x:Key=\"Headertemplate\">\n            <TextBlock HorizontalAlignment=\"Center\"\n                       VerticalAlignment=\"Center\"\n                       FontSize=\"14\"\n                       Text=\"{Binding CellBoundValue}\" />\n        </DataTemplate>\n\n        <DataTemplate x:Key=\"Textboxtemplate\">\n            <Border HorizontalAlignment=\"Center\"\n                    BorderBrush=\"LightGray\"\n                    BorderThickness=\"1.5\"\n                    CornerRadius=\"5\">\n                <TextBox Width=\"130\"\n                         HorizontalAlignment=\"Left\"\n                         VerticalAlignment=\"Center\"\n                         Background=\"LightYellow\"\n                         Foreground=\"LightSlateGray\"\n                         Text=\"{Binding CellBoundValue}\"\n                         ToolTip=\"{Binding CellBoundValue}\" />\n            </Border>\n        </DataTemplate>\n\n        <DataTemplate x:Key=\"SliderTemplate\">\n            <Border HorizontalAlignment=\"Center\"\n                    BorderBrush=\"LightGray\"\n                    BorderThickness=\"1.5\">\n                <Slider Name=\"mcSlider\"\n                        Width=\"300\"\n                        Height=\"25\"\n                        Background=\"Transparent\"\n                        Maximum=\"100\"\n                        Minimum=\"0\"\n                        ToolTip=\"{Binding CellBoundValue}\"\n                        Value=\"{Binding CellBoundValue}\" />\n            </Border>\n        </DataTemplate>\n\n        <DataTemplate x:Key=\"TextTemplate\">\n            <Border BorderBrush=\"LightSlateGray\"\n                    BorderThickness=\"2\"\n                    CornerRadius=\"2\">\n                <TextBlock Text=\"{Binding CellBoundValue}\" ToolTip=\"{Binding CellBoundValue}\" />\n            </Border>\n        </DataTemplate>\n\n        <DataTemplate x:Key=\"ImageTemplate\">\n            <Image Height=\"22\" Source=\"{Binding CellBoundValue}\" />\n        </DataTemplate>\n\n        <DataTemplate x:Key=\"ProgressbarTemplate\">\n            <ProgressBar Foreground=\"Orange\"\n                         Maximum=\"20\"\n                         Minimum=\"0\"\n                         ToolTip=\"{Binding CellBoundValue}\"\n                         Value=\"{Binding CellBoundValue}\" />\n        </DataTemplate>\n    </democommon:DemoControl.Resources>\n\n    <ScrollViewer CanContentScroll=\"True\"\n                          HorizontalScrollBarVisibility=\"Auto\"\n                          VerticalScrollBarVisibility=\"Auto\">\n        <syncfusion:GridControl Name=\"gridControl1\"\n                                        syncfusion:GridTooltipService.ShowTooltips=\"True\"/>\n    </ScrollViewer>\n</democommon:DemoControl>\n"
    }
  ]
}