/syncfusion-winforms:syncfusion-winforms-grid-controlfrom Syncfusion WinForms Controls
Implements Syncfusion Windows Forms GridControl with cell-oriented architecture, virtual data loading, and Excel-like features. Use this when working with spreadsheet-like grids, GridStyleInfo cell styling, grid formulas, or covered cell ranges. The skill covers QueryCellInfo events, PopulateValues, ChangeCells, grid selection, editing validation, and extensive cell customization capabilities.
Ships in Syncfusion WinForms Controls. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Complete guide for implementing Syncfusion® Windows Forms GridControl - a powerful cell-oriented grid that provides Excel-like functionality, virtual data loading, and extensive cell-level customization for .NET desktop applications.
Use this skill when you need to:
The GridControl is a cell-oriented grid that maintains its own data and doesn't require binding to an external data source. It's designed for maximum flexibility and performance, supporting virtually unlimited rows and columns.
Key Capabilities:
Best Use Cases:
📄 Read: references/getting-started.md
📄 Read: references/data-population.md
📄 Read: references/cell-style-architecture.md
📄 Read: references/cell-types.md
📄 Read: references/editing-validation.md
📄 Read: references/selection.md
📄 Read: references/excel-like-features.md
📄 Read: references/formula-support.md
📄 Read: references/covered-ranges.md
📄 Read: references/drag-and-drop.md
📄 Read: references/scrolling-zooming.md
📄 Read: references/exporting.md
using Syncfusion.Windows.Forms.Grid;
using System.Drawing;
using System.Windows.Forms;
public partial class Form1 : Form
{
private GridControl gridControl1;
public Form1()
{
InitializeComponent();
InitializeGrid();
}
private void InitializeGrid()
{
// Create and configure GridControl
gridControl1 = new GridControl();
gridControl1.Size = new Size(800, 600);
gridControl1.Dock = DockStyle.Fill;
// Set dimensions
gridControl1.RowCount = 50;
gridControl1.ColCount = 10;
// Populate with data
for (int row = 1; row <= gridControl1.RowCount; row++)
{
for (int col = 1; col <= gridControl1.ColCount; col++)
{
gridControl1[row, col].CellValue = $"R{row}C{col}";
}
}
// Style header row
GridStyleInfo headerStyle = new GridStyleInfo();
headerStyle.BackColor = Color.DarkBlue;
headerStyle.TextColor = Color.White;
headerStyle.Font.Bold = true;
gridControl1.ChangeCells(GridRangeInfo.Row(1), headerStyle);
// Enable Excel-like features
gridControl1.ExcelLikeSelectionFrame = true;
gridControl1.ExcelLikeCurrentCell = true;
gridControl1.AllowSelection = GridSelectionFlags.Any;
// Add to form
this.Controls.Add(gridControl1);
}
}
gridControl1.Model.RowCount = 1000000;
gridControl1.QueryCellInfo += (sender, e) =>
{
e.Style.CellValue = GetData(e.RowIndex, e.ColIndex);
};
📄 Details: references/data-population.md
GridStyleInfo style = new GridStyleInfo { BackColor = Color.LightGreen };
gridControl1.ChangeCells(GridRangeInfo.Cells(5, 2, 8, 5), style);
📄 Details: references/cell-style-architecture.md
gridControl1.Model.EnableFormulas = true;
gridControl1[5, 1].CellValue = "=SUM(A1:A4)";
📄 Details: references/formula-support.md
gridControl1[3, 2].CellType = GridCellTypeName.ComboBox;
gridControl1[3, 2].ChoiceList = new string[] { "Option 1", "Option 2" };
📄 Details: references/cell-types.md
gridControl1.AllowSelection = GridSelectionFlags.Any;
gridControl1.SelectionChanged += (s, e) => { /* Handle selection */ };
📄 Details: references/selection.md
| Property | Type | Description |
|---|---|---|
RowCount | int | Number of rows in the grid |
ColCount | int | Number of columns in the grid |
Model[row, col] | GridStyleInfo | Access cell style and properties |
AllowSelection | GridSelectionFlags | Enable/configure range selection |
ListBoxSelectionMode | SelectionMode | Enable/configure row selection |
ReadOnly | bool | Enable/disable editing for entire grid |
ExcelLikeSelectionFrame | bool | Show Excel-style selection frame |
ExcelLikeCurrentCell | bool | Highlight current cell like Excel |
CoveredRanges | GridRangeInfoList | Collection of covered cell ranges |
| Property | Type | Description |
|---|---|---|
CellValue | object | Value displayed in the cell |
CellType | string | Cell type (TextBox, ComboBox, etc.) |
BackColor | Color | Background color |
TextColor | Color | Text color |
Font | GridFontInfo | Font settings |
ReadOnly | bool | Enable/disable editing for cell |
Format | string | Display format string |
HorizontalAlignment | GridHorizontalAlignment | Text horizontal alignment |
VerticalAlignment | GridVerticalAlignment | Text vertical alignment |
Performance Issues: Use virtual mode (QueryCellInfo), BeginUpdate/EndUpdate for batch operations
Selection Not Working: Check AllowSelection property, verify grid has focus
Formulas Not Calculating: Ensure Model.EnableFormulas = true, validate syntax
Cell Values Not Showing: Verify CellValue set, check for covered cells, validate row/column indices (1-based)
For detailed troubleshooting, see the relevant reference files in the Navigation Guide.
references/cell-style-architecture.md (opens in a new tab)references/cell-types.md (opens in a new tab)references/covered-ranges.md (opens in a new tab)references/data-population.md (opens in a new tab)references/drag-and-drop.md (opens in a new tab)references/editing-validation.md (opens in a new tab)references/excel-like-features.md (opens in a new tab)references/exporting.md (opens in a new tab)references/formula-support.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/scrolling-zooming.md (opens in a new tab)references/selection.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-winforms113 skills in this plugin
/syncfusion-winforms-ai-assistviewGuide for implementing Syncfusion Windows Forms AI AssistView (SfAIAssistView) for building conversational AI interfaces in desktop applications. Use this when creating chat interfaces, AI assistants, or chatbots with Windows Forms. Supports OpenAI and Azure OpenAI integration, typing indicators, chat suggestions, message bubbles, custom views, input toolbar with attachments, response toolbar actions, and stop responding for interactive messaging experiences./syncfusion-winforms-autocompleteGuides implementation of the Syncfusion WinForms AutoComplete control for text input with auto-suggestion functionality. Use when users want to add autocomplete textboxes, implement auto-suggestion features, create search boxes with suggestions, enable URL/email autocomplete, or build type-ahead search functionality in Windows desktop applications. Covers data binding, customization, filtering, multi-column dropdowns, events, and all AutoComplete-specific features./syncfusion-winforms-autolabelGuides implementation of the Syncfusion WinForms AutoLabel control for automatic label positioning with form controls. Use when users want to add labels that automatically reposition when controls move, create form layouts with paired label-control units, implement complex form designs with FlowLayout, or ensure labels stay synchronized with their associated controls. Covers labeling controls, positioning, spacing, size settings, theming, and events.Other plugins' skills for the same job