mcpField
S
syncfusion-winforms-common

syncfusion-winforms-common

github.com/syncfusionDevelopment292 installsUpdated 3w ago
Repository

About syncfusion-winforms-common

A reference skill for developers building Windows Forms applications with Syncfusion Essential Studio controls. It covers setup, licensing, .NET compatibility, high-DPI configuration, localization, and troubleshooting.

Key features

  1. 01Install and upgrade controls
  2. 02Register license keys
  3. 03Configure .NET compatibility
  4. 04Enable high-DPI support
  5. 05Localize controls
  6. 06Troubleshoot setup and runtime issues

Use cases

  1. 01Add Syncfusion controls to WinForms forms
  2. 02Configure licensing in an application
  3. 03Localize controls for multiple cultures
  4. 04Diagnose installation or runtime errors

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/syncfusion/winforms-ui-components-skills --skill syncfusion-winforms-common

After installing, type/syncfusion-winforms-commonin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
dotnet-compatibility.md
getting-started.md
high-dpi-support.md
installation.md
localization.md
system-requirements.md
upgrading.md

Details

From the project README

Implementing Syncfusion Windows Forms Components

Comprehensive guide for implementing Syncfusion® Essential Studio® Windows Forms (WinForms) controls in desktop applications. This skill covers everything from initial setup and installation to localization and .NET compatibility.

When to Use This Skill

Use this skill when you need to:

  • Add Syncfusion WinForms controls to a Windows Forms application
  • Register and manage license keys for WinForms applications
  • Install or upgrade Syncfusion WinForms via installer or NuGet
  • Set up .NET Core / .NET 5-9 projects with Syncfusion WinForms controls
  • Enable High DPI support for Syncfusion WinForms controls
  • Localize Syncfusion WinForms controls for different cultures
  • Troubleshoot installation, licensing, or runtime errors

Library Overview

Syncfusion® Essential Studio® for Windows Forms provides a comprehensive suite of UI controls for building rich Windows desktop applications, including grids, charts, schedulers, editors, navigation, layout, and input controls. All controls are designed for WinForms applications and support .NET Framework 4.6.2+ and .NET 6.0–9.0.


Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Adding controls via Designer (Toolbox drag-drop)
  • Adding controls via Code (C# / VB)
  • Using Project Templates and Item Templates
  • Assembly references required for controls
  • Control dependency lookup (assembly and NuGet per control)
Localization

📄 Read: references/localization.md

  • Using ILocalizationProvider interface
  • Using Satellite Assemblies for multi-language support
  • Localizing with .resx files
  • Changing application culture at runtime
  • Editing default culture strings
High DPI Support

📄 Read: references/high-dpi-support.md

  • DPI awareness overview (DPI-aware vs non-DPI-aware apps)
  • DPI compatibility test matrix
  • Enabling DPI awareness via app.manifest
  • AutoScaleDimensions and AutoScaleMode setup
  • Enabling DpiAware property for Grid controls
  • Auto-switching images by DPI scaling with ImageListAdv
System Requirements

📄 Read: references/system-requirements.md

  • Supported Windows OS versions
  • Hardware requirements (processor, RAM, disk)
  • Supported Visual Studio versions
  • Supported .NET Framework and .NET versions
.NET Compatibility

📄 Read: references/dotnet-compatibility.md

  • Creating WinForms apps with .NET Core / .NET 5-9
  • Adding Syncfusion controls in .NET Core projects (assembly / NuGet)
  • .NET Framework and .NET Core version compatibility matrix
  • Version-specific .NET support per Syncfusion release
Upgrading

📄 Read: references/upgrading.md

  • Upgrading via Control Panel / website installer
  • Upgrading via Visual Studio Extensions
  • Upgrading NuGet packages via Package Manager UI
  • Upgrading NuGet packages via Package Manager Console
  • Upgrading NuGet packages via .NET CLI
  • Upgrading from trial to licensed version
Installation

📄 Read: references/installation.md

  • Downloading the offline installer (trial and licensed)
  • Installing with the UI wizard (step-by-step)
  • Silent/command-line installation and uninstallation
  • Installing NuGet packages via Package Manager UI
  • Installing NuGet packages via .NET CLI
  • Installing NuGet packages via Package Manager Console
  • Common installation errors and solutions

Quick Start

1. Install via NuGet
# Package Manager Console
Install-Package Syncfusion.Shared.Base

# .NET CLI
dotnet add package Syncfusion.Shared.Base
2. Register License Key

Register the license before any Syncfusion control is initialized:

// Program.cs — in static void Main(), before Application.Run()
static void Main()
{
    string licenseKey = ConfigurationManager.AppSettings["SyncfusionLicenseKey"];
    
    if (string.IsNullOrEmpty(licenseKey))
    {
        MessageBox.Show("Syncfusion license key not configured!", "Configuration Error");
        return;
    }
    
    SyncfusionLicenseProvider.RegisterLicense(licenseKey);

    Application.EnableVisualStyles();
    Application.SetCompatibleTextRenderingDefault(false);
    Application.Run(new Form1());
}
3. Add a Control via Code
using Syncfusion.Windows.Forms.Tools;

// Create and configure the control
TextBoxExt textBox = new TextBoxExt();
textBox.Location = new System.Drawing.Point(100, 100);
textBox.Size = new System.Drawing.Size(200, 25);

// Add to form
this.Controls.Add(textBox);

Common Patterns

Enable High DPI

In app.manifest:

<application xmlns="urn:schemas-microsoft-com:asm.v3">
  <windowsSettings>
    <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
  </windowsSettings>
</application>

In code (for Grid controls):

gridControl1.DpiAware = true;
Localize Controls at Runtime
// Set culture before InitializeComponent()
Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("de-DE");
Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("de-DE");

Key Assemblies

AssemblyControls Covered
Syncfusion.Shared.BaseButtonAdv, most shared controls
Syncfusion.Tools.WindowsComboBoxAdv, DockingManager, TabControlAdv, and most Tools controls
Syncfusion.Grid.WindowsGridControl, GridGroupingControl
Syncfusion.Chart.WindowsChart control
Syncfusion.SfDataGrid.WinFormsSfDataGrid

For per-control dependency lookup, read references/getting-started.md.


Common Use Cases

  • Business forms: Add input controls, editors, and validation with Syncfusion WinForms tools
  • Data-heavy UIs: Use GridControl or SfDataGrid with high DPI support
  • Multi-language apps: Use .resx files or ILocalizationProvider for localization
  • CI/CD pipelines: Validate license key automatically using LicenseKeyValidator

Comments

Markdown supported