New to Telerik UI for WinFormsStart a free 30-day trial

Telerik UI for WinForms Converter

Updated on May 19, 2026

The Telerik UI for WinForms Converter is an automated migration tool that converts existing Microsoft WinForms applications to use Telerik UI for WinForms controls. The converter is integrated into the Telerik WinForms MCP Server and works with AI-powered IDEs such as Visual Studio and Visual Studio Code to guide you through the entire migration process.

The converter uses Microsoft Roslyn — the .NET compiler platform — to parse, analyze, and transform your C# and VB.NET source code. Unlike simple find-and-replace or regex approaches, Roslyn provides a full understanding of the code structure through Abstract Syntax Trees (ASTs), enabling accurate, context-aware transformations.

The WinForms Converter replaces the legacy Visual Studio Extension-based converter, which was limited to Visual Studio 2019. The new converter works in any MCP-compatible IDE and supports modern .NET versions.

Prerequisites

To use the Telerik UI for WinForms Converter, you need:

A Subscription license and a configured Telerik WinForms MCP Server are required.

How It Works

The Telerik UI for WinForms Converter exposes a set of MCP tools that the AI agent calls in sequence. The agent acts as the orchestrator — it calls the tools, interprets results, builds the project, fixes errors, and guides you through the process step by step.

The typical migration workflow is:

  1. Get the migration plan — The AI agent calls telerik_get_migration_plan to understand the recommended workflow, rules, and anti-patterns.
  2. Analyze the project — The AI agent calls telerik_analyze_project to inspect the .csproj file and determine target framework, project style, and existing Telerik references.
  3. Add Telerik NuGet packages — The AI agent calls telerik_add_package_reference to add the Telerik.UI.for.WinForms.AllControls NuGet package.
  4. Convert files one at a time — The AI agent calls telerik_convert_file for each form, converting the Designer.cs file first, then the corresponding .cs file. After each pair, the agent builds and fixes errors before moving to the next form.
  5. Apply a theme — The AI agent calls telerik_get_theme_setup to configure a Telerik theme (for example, Fluent).
  6. Final build — The agent runs a final build to verify the completed migration.

The converter follows a Divide and Conquer strategy. Even when you ask to convert an entire project, the AI agent converts one form or user control at a time. This keeps the error surface small, prevents error accumulation, and ensures each form works before moving on.

Supported Type Mappings

Standard Microsoft WinForms control types are mapped to their Telerik equivalents:

Microsoft ControlTelerik Control
System.Windows.Forms.BindingNavigatorTelerik.WinControls.UI.RadBindingNavigator
System.Windows.Forms.ButtonTelerik.WinControls.UI.RadButton
System.Windows.Forms.CheckBoxTelerik.WinControls.UI.RadCheckBox
System.Windows.Forms.CheckedListBoxTelerik.WinControls.UI.RadCheckedListBox
System.Windows.Forms.ComboBoxTelerik.WinControls.UI.RadDropDownList
System.Windows.Forms.DataGridViewTelerik.WinControls.UI.RadGridView
System.Windows.Forms.DomainUpDownTelerik.WinControls.UI.RadDomainUpDown
System.Windows.Forms.FormTelerik.WinControls.UI.RadForm
System.Windows.Forms.GroupBoxTelerik.WinControls.UI.RadGroupBox
System.Windows.Forms.HScrollBarTelerik.WinControls.UI.RadHScrollBar
System.Windows.Forms.LabelTelerik.WinControls.UI.RadLabel
System.Windows.Forms.ListBoxTelerik.WinControls.UI.RadListControl
System.Windows.Forms.MaskedTextBoxTelerik.WinControls.UI.RadMaskedEditBox
System.Windows.Forms.MenuStripTelerik.WinControls.UI.RadMenu
System.Windows.Forms.MessageBoxTelerik.WinControls.RadMessageBox
System.Windows.Forms.MonthCalendarTelerik.WinControls.UI.RadCalendar
System.Windows.Forms.NumericUpDownTelerik.WinControls.UI.RadSpinEditor
System.Windows.Forms.PanelTelerik.WinControls.UI.RadPanel
System.Windows.Forms.ProgressBarTelerik.WinControls.UI.RadProgressBar
System.Windows.Forms.PropertyGridTelerik.WinControls.UI.RadPropertyGrid
System.Windows.Forms.RadioButtonTelerik.WinControls.UI.RadRadioButton
System.Windows.Forms.RichTextBoxTelerik.WinControls.UI.RadRichTextEditor
System.Windows.Forms.SplitContainerTelerik.WinControls.UI.RadSplitContainer
System.Windows.Forms.StatusStripTelerik.WinControls.UI.RadStatusStrip
System.Windows.Forms.TabControlTelerik.WinControls.UI.RadPageView
System.Windows.Forms.TextBoxTelerik.WinControls.UI.RadTextBox
System.Windows.Forms.ToolStripTelerik.WinControls.UI.RadCommandBar
System.Windows.Forms.TrackBarTelerik.WinControls.UI.RadTrackBar
System.Windows.Forms.TreeViewTelerik.WinControls.UI.RadTreeView
System.Windows.Forms.VScrollBarTelerik.WinControls.UI.RadVScrollBar

The full mapping database is embedded in the converter and covers a comprehensive set of Microsoft WinForms controls and their properties, events, and enum values.

Supported Languages

The converter supports both C# and VB.NET source files:

ExtensionLanguage
.csC#
.vbVB.NET

The language is automatically detected from the file extension. Both languages share the same mapping configuration.

License Requirements

Access to the Telerik UI for WinForms Converter depends on your Telerik license type:

License TypeConverter AccessDetails
Subscription LicenseUnlimited conversionsFull access with a fair use threshold of 300 requests per day.
Trial License20 file conversionsDesigned for evaluating the migration workflow before purchasing.
Perpetual LicenseNo access*Start a 30-day trial or convert to a Subscription license.

* Perpetual license holders do not have access to the WinForms Converter. A Subscription license is required for unlimited conversions.

Security and Safety

The converter implements several safety measures:

  • Workspace boundary enforcement — The converter only operates on files within the MCP client's declared workspace roots. If a path is outside the allowed workspace, the tool asks the user for a valid path via elicitation.
  • Backup before overwrite — A .bak backup of the original file is created before any file is modified.
  • Path canonicalization — All file paths are canonicalized to prevent path traversal.
  • Secure XML parsing — DTD processing is disabled and no external XML resolver is used when parsing .csproj and other XML files.
  • Trial usage limits — Trial accounts are limited to 20 file conversions. A subscription license is required for unlimited conversions.

See Also