{
  "$schema": "https://ai.syncfusion.com/schema/registry-item.json",
  "name": "grid-intervalgrouping",
  "framework": "wpf",
  "type": "registry:component",
  "component": "Grid",
  "variant": "intervalgrouping",
  "dependencies": [
    "Syncfusion.SfGrid.WPF"
  ],
  "description": "GridControl with interval-based grouping hierarchy, nested row formatting, and custom cell styling.",
  "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/grid-intervalgrouping.md"
  },
  "files": [
    {
      "target": "src/components/grid-intervalgrouping/grid.xaml",
      "content": "<UserControl x:Class=\"syncfusion.datagriddemos.wpf.IntervalGrouping.Grid\"\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        xmlns:interactivity=\"http://schemas.microsoft.com/xaml/behaviors\"\n        xmlns:local=\"clr-namespace:syncfusion.datagriddemos.wpf.IntervalGrouping\"\n        Unloaded=\"OnSampleUnloaded\">\n    <UserControl.Resources>\n        <local:IntervalGroupingViewModel x:Key=\"viewmodel\" />\n    </UserControl.Resources>\n\n    <Grid Background=\"White\" DataContext=\"{StaticResource viewmodel}\">\n        <Grid.RowDefinitions>\n            <RowDefinition Height=\"Auto\" />\n            <RowDefinition Height=\"Auto\" />\n            <RowDefinition Height=\"*\" />\n        </Grid.RowDefinitions>\n\n        <!-- Information Header -->\n        <Border Grid.Row=\"0\" Background=\"#F5F5F5\" Padding=\"10\" BorderBrush=\"#E0E0E0\" BorderThickness=\"0,0,0,1\">\n            <StackPanel>\n                <TextBlock FontWeight=\"Bold\" FontSize=\"14\" Foreground=\"#333\">\n                    Sample: Interval Grouping\n                </TextBlock>\n                <TextBlock FontSize=\"12\" Margin=\"0,5,0,0\" Foreground=\"#666\">\n                    This sample demonstrates grouping capabilities in the DataGrid control, including grouping by intervals and custom grouping.\n                </TextBlock>\n            </StackPanel>\n        </Border>\n\n        <!-- Options -->\n        <Border Grid.Row=\"1\" Background=\"#FAFAFA\" Padding=\"10\" BorderBrush=\"#E0E0E0\" BorderThickness=\"0,0,0,1\">\n            <StackPanel>\n                <TextBlock x:Name=\"textBlock1\" Margin=\"5\" FontSize=\"14\" FontWeight=\"Bold\" Text=\"Interval Grouping\" />\n                <TextBlock x:Name=\"textBlock2\" Margin=\"5\" HorizontalAlignment=\"Left\" FontSize=\"13\" FontWeight=\"Bold\" Text=\"Order ID Column\" TextWrapping=\"Wrap\" />\n                <TextBlock x:Name=\"textBlock3\" Margin=\"5\" HorizontalAlignment=\"Left\" FontSize=\"12\" FontWeight=\"Normal\" Text=\"Groups based on intervals\" TextWrapping=\"Wrap\" />\n                <TextBlock x:Name=\"textBlock4\" Margin=\"5\" HorizontalAlignment=\"Left\" FontSize=\"13\" FontWeight=\"Bold\" Text=\"Customer ID Column\" TextWrapping=\"Wrap\" />\n                <TextBlock x:Name=\"textBlock5\" Margin=\"5\" HorizontalAlignment=\"Left\" FontSize=\"12\" FontWeight=\"Normal\" Text=\"Groups based on starting letter\" TextWrapping=\"Wrap\" />\n                <TextBlock x:Name=\"textBlock6\" Margin=\"5\" HorizontalAlignment=\"Left\" FontSize=\"13\" FontWeight=\"Bold\" Text=\"Order Date, Shipped Date column\" TextWrapping=\"Wrap\" />\n                <TextBlock x:Name=\"textBlock7\" Margin=\"5\" HorizontalAlignment=\"Left\" FontSize=\"12\" FontWeight=\"Normal\" Text=\"Order Date - Groups based on day\" TextWrapping=\"Wrap\" />\n                <TextBlock x:Name=\"textBlock8\" Margin=\"5\" HorizontalAlignment=\"Left\" FontSize=\"12\" FontWeight=\"Normal\" Text=\"Shipped Date - Groups based on date range\" TextWrapping=\"Wrap\" />\n            </StackPanel>\n        </Border>\n\n        <!-- Grid Section -->\n        <syncfusion:SfDataGrid\n            Grid.Row=\"2\"\n            x:Name=\"sfGrid\"\n            Margin=\"5\"\n            AllowEditing=\"True\"\n            AllowGrouping=\"True\"\n            AllowResizingColumns=\"True\"\n            AutoGenerateColumns=\"False\"\n            ColumnSizer=\"Star\"\n            IsGroupDropAreaExpanded=\"True\"\n            ItemsSource=\"{Binding Orders}\"\n            NavigationMode=\"Cell\"\n            ShowGroupDropArea=\"True\">\n            <interactivity:Interaction.Behaviors>\n                <local:DataGridGroupColumnChangingBehavior />\n            </interactivity:Interaction.Behaviors>\n\n            <syncfusion:SfDataGrid.GroupColumnDescriptions>\n                <syncfusion:GroupColumnDescription ColumnName=\"OrderDate\" />\n            </syncfusion:SfDataGrid.GroupColumnDescriptions>\n\n            <syncfusion:SfDataGrid.Columns>\n                <syncfusion:GridNumericColumn\n                    HeaderText=\"Order ID\"\n                    MappingName=\"OrderID\"\n                    NumberDecimalDigits=\"0\"\n                    TextAlignment=\"Right\" />\n                <syncfusion:GridTextColumn\n                    AllowSorting=\"True\"\n                    HeaderText=\"Customer ID\"\n                    MappingName=\"CustomerID\" />\n\n                <syncfusion:GridDateTimeColumn\n                    AllowSorting=\"True\"\n                    HeaderText=\"Order Date\"\n                    MappingName=\"OrderDate\"\n                    TextAlignment=\"Right\" />\n\n                <syncfusion:GridMaskColumn\n                    HeaderText=\"Contact Number\"\n                    MappingName=\"ContactNumber\"\n                    Mask=\"(99)-9999\"\n                    TextAlignment=\"Right\" />\n                <syncfusion:GridComboBoxColumn\n                    HeaderText=\"Product Name\"\n                    ItemsSource=\"{Binding Path=ComboBoxItemsSource, Source={StaticResource viewmodel}}\"\n                    MappingName=\"ProductName\"\n                    TextTrimming=\"CharacterEllipsis\" />\n                <syncfusion:GridCurrencyColumn\n                    CurrencyDecimalDigits=\"0\"\n                    HeaderText=\"Unit Price\"\n                    MappingName=\"UnitPrice\" />\n                <syncfusion:GridNumericColumn\n                    HeaderText=\"Quantity\"\n                    MappingName=\"Quantity\"\n                    NumberDecimalDigits=\"0\" />\n                <syncfusion:GridPercentColumn HeaderText=\"Discount\" MappingName=\"Freight\" />\n                <syncfusion:GridDateTimeColumn\n                    HeaderText=\"Shipped Date\"\n                    MappingName=\"ShippedDate\"\n                    TextAlignment=\"Right\" />\n\n                <syncfusion:GridCheckBoxColumn HeaderText=\"Closed\" MappingName=\"IsShipped\" />\n            </syncfusion:SfDataGrid.Columns>\n\n        </syncfusion:SfDataGrid>\n    </Grid>\n</UserControl>"
    }
  ]
}