{
  "$schema": "https://ai.syncfusion.com/schema/registry-item.json",
  "name": "grid-grid-control-selection",
  "framework": "wpf",
  "type": "registry:component",
  "component": "Grid",
  "variant": "grid-control-selection",
  "dependencies": [
    "Syncfusion.SfGrid.WPF"
  ],
  "description": "GridControl with an Options pane that toggles Excel-like current cell, switches selection modes, and reports selections to a TextBox.",
  "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-grid-control-selection.md"
  },
  "files": [
    {
      "target": "src/components/grid-grid-control-selection/Grid.xaml",
      "content": "<democommon:DemoControl\n    xmlns:democommon=\"clr-namespace:syncfusion.demoscommon.wpf;assembly=syncfusion.demoscommon.wpf\" x:Class=\"syncfusion.gridcontroldemos.wpf.GridControlSelection\"\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                             Background=\"White\">\n\n    \n            <ScrollViewer CanContentScroll=\"True\"\n                          HorizontalScrollBarVisibility=\"Auto\"\n                          VerticalScrollBarVisibility=\"Auto\">\n                <syncfusion:GridControl x:Name=\"grid\" />\n            </ScrollViewer>\n\n    <democommon:DemoControl.Options>\n        <ScrollViewer>\n        <StackPanel Name=\"stackPanel1\">\n\n            <CheckBox Name=\"checkBox1\"\n                              Margin=\"5\"\n                              Content=\"Do not select cell 3,3\" />\n            <CheckBox Name=\"checkBox2\"\n                              Margin=\"5\"\n                              Checked=\"checkBox2_Checked\"\n                              Content=\"ExcelLike CurrentCell\"\n                              Unchecked=\"checkBox2_Checked\" />\n\n            <RadioButton Name=\"radioButton1\"\n                                 Margin=\"5\"\n                                 Checked=\"radioButton_Checked\"\n                                 Content=\"Any Selections\" />\n\n            <RadioButton Name=\"radioButton2\"\n                                 Margin=\"5\"\n                                 Checked=\"radioButton_Checked\"\n                                 Content=\"Rows Only\" />\n\n            <RadioButton Name=\"radioButton3\"\n                                 Margin=\"5\"\n                                 Checked=\"radioButton_Checked\"\n                                 Content=\"Columns Only\" />\n\n            <RadioButton Name=\"radioButton4\"\n                                 Margin=\"5\"\n                                 Checked=\"radioButton_Checked\"\n                                 Content=\"Rows and Columns Only\" />\n\n            <RadioButton Name=\"radioButton5\"\n                                 Margin=\"5\"\n                                 Checked=\"radioButton_Checked\"\n                                 Content=\"ListBox Selections\" />\n\n            <Button Margin=\"5\"\n                            Click=\"Button_Click\"\n                            Content=\"Show Selections\" />\n\n            <TextBox Name=\"textBox1\"\n                             Height=\"210\"\n                             Margin=\"5\"\n                             HorizontalScrollBarVisibility=\"Visible\"\n                             IsReadOnly=\"True\"\n                             VerticalScrollBarVisibility=\"Visible\" />\n        </StackPanel>\n        </ScrollViewer>\n    </democommon:DemoControl.Options>\n</democommon:DemoControl>\n"
    }
  ]
}