{
  "$schema": "https://ai.syncfusion.com/schema/registry-item.json",
  "name": "grid-search",
  "framework": "winforms",
  "type": "registry:component",
  "component": "Grid",
  "variant": "search",
  "dependencies": [
    "Syncfusion.SfDataGrid.WinForms"
  ],
  "description": "Grid that filters rows as the user types into a search box, highlighting matches across visible columns in real time.",
  "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/winforms/llms.txt",
    "skillPack": "syncfusion/winforms-ui-components-skills",
    "docs": "https://ai.syncfusion.com/gallery/winforms/grid-search.md"
  },
  "files": [
    {
      "target": "src/components/grid-search/grid.Designer.cs",
      "content": "using Syncfusion.Windows.Forms;\nusing Syncfusion.WinForms.DataGrid;\nusing Syncfusion.WinForms.DataGrid.Enums;\nusing System.ComponentModel;\nusing System.Drawing;\n\nnamespace Search\n{\n    partial class Form1\n    {\n        /// <summary>\n        /// Required designer variable.\n        /// </summary>\n        private System.ComponentModel.IContainer components = null;\n\n        /// <summary>\n        /// Clean up any resources being used.\n        /// </summary>\n        protected override void Dispose(bool disposing)\n        {\n            if (disposing && (components != null))\n            {\n                components.Dispose();\n            }\n            base.Dispose(disposing);\n        }\n\n        #region Windows Form Designer generated code\n\n        /// <summary>\n        /// Required method for Designer support - do not modify\n        /// the contents of this method with the code editor.\n        /// </summary>\n        private void InitializeComponent()\n        {\n            this.sfDataGrid1 = new Syncfusion.WinForms.DataGrid.SfDataGrid();\n            ((System.ComponentModel.ISupportInitialize)(this.sfDataGrid1)).BeginInit();\n            this.SuspendLayout();\n            //\n            // sfDataGrid1\n            //\n            this.sfDataGrid1.AllowSorting = false;\n            this.sfDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill;\n            this.sfDataGrid1.Location = new System.Drawing.Point(10, 5);\n            this.sfDataGrid1.Name = \"sfDataGrid1\";\n            this.sfDataGrid1.Size = new System.Drawing.Size(1005, 590);\n            this.sfDataGrid1.TabIndex = 0;\n            this.sfDataGrid1.Text = \"sfDataGrid1\";\n            this.sfDataGrid1.RowHeight = (int)DpiAware.LogicalToDeviceUnits(21.0f);\n            this.sfDataGrid1.SelectionMode = GridSelectionMode.Single;\n            this.sfDataGrid1.AllowDeleting = true;\n            this.sfDataGrid1.Style.ButtonStyle.BorderColor = new Pen(Brushes.Gray, 2);\n            this.sfDataGrid1.Style.ButtonStyle.HoverBorderColor = new Pen(Brushes.Gray, 2);\n            this.sfDataGrid1.Style.ButtonStyle.BackColor = Color.Red;\n            this.sfDataGrid1.Style.ButtonStyle.TextColor = Color.White;\n            this.sfDataGrid1.Style.ButtonStyle.HoverTextColor = Color.White;\n            this.sfDataGrid1.Style.ButtonStyle.HoverBackColor = Color.Red;\n            this.sfDataGrid1.AutoSizeColumnsMode = AutoSizeColumnsMode.Fill;\n            this.sfDataGrid1.CopyOption = CopyOptions.CopyData | CopyOptions.IncludeHeaders;\n            //\n            // Form1\n            //\n            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);\n            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;\n            this.Size = new System.Drawing.Size(1024, 640);\n            this.ClientSize = new System.Drawing.Size(1024, 640);\n            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;\n            this.MinimumSize = new Size(500, 400);\n            this.Controls.Add(this.sfDataGrid1);\n            this.Margin = new System.Windows.Forms.Padding(5);\n            this.Name = \"Form1\";\n            this.Text = \"Search\";\n            ((System.ComponentModel.ISupportInitialize)(this.sfDataGrid1)).EndInit();\n            this.ResumeLayout(false);\n\n        }\n\n        #endregion\n        private Syncfusion.WinForms.DataGrid.SfDataGrid sfDataGrid1;\n    }\n}"
    },
    {
      "target": "src/components/grid-search/grid.cs",
      "content": "using Syncfusion.Windows.Forms;\nusing Syncfusion.WinForms.DataGrid;\nusing Syncfusion.WinForms.DataGrid.Enums;\nusing System.Drawing;\nusing System.Windows.Forms;\n\nnamespace Search\n{\n    public partial class Form1 : Form\n    {\n        #region Fields\n        OrderInfoCollection orderInfo;\n        SearchPanel panel;\n        #endregion\n\n        #region Constructor\n        public Form1()\n        {\n            InitializeComponent();\n            orderInfo = new OrderInfoCollection();\n            this.sfDataGrid1.DataSource = orderInfo.OrdersListDetails;\n            panel = new SearchPanel(this.sfDataGrid1);\n            sfDataGrid1.Controls.Add(panel);\n            panel.BringToFront();\n            panel.Anchor = AnchorStyles.Right | AnchorStyles.Top;\n            panel.Location = sfDataGrid1.TableControl.PointToClient(new Point(sfDataGrid1.Width - (panel.Width) - (int)DpiAware.LogicalToDeviceUnits(8f), (int)DpiAware.LogicalToDeviceUnits(63f)));\n            panel.Show();\n            sfDataGrid1.TableControl.KeyDown += TableControl_KeyDown;\n        }\n\n        void TableControl_KeyDown(object sender, KeyEventArgs e)\n        {\n            if (e.Control && e.KeyCode == Keys.F)\n            {\n                panel.Visible = true;\n            }\n        }\n        #endregion\n    }\n}"
    }
  ]
}