Windows Forms is a .NET wrapper over Win32 and GDI+ for building Windows desktop apps, with a Visual Studio visual designer.
Overview
Windows Forms (WinForms) is a UI framework for building Windows desktop applications on .NET. It wraps Windows user interface libraries such as User32 and GDI+, and adds controls and behaviors specific to WinForms.
The framework emphasizes rapid development through Visual Studio’s drag-and-drop designer for arranging controls on forms. It targets stable line-of-business applications with rich desktop UIs and integration with databases and inter-process communication patterns common on Windows.
This codebase is the .NET evolution of Windows Forms from .NET Framework, migrated starting at .NET Core 3.0 with later breaking changes documented in a porting guide. A separate out-of-process designer supports modern .NET versions distinct from the legacy .NET Framework designer.
Ongoing work focuses on high DPI and per-monitor scaling, accessibility standards, performance and security fixes, asynchronous interaction patterns, and alignment with Windows platform API changes rather than duplicating features already provided by WPF or WinUI.
Key features
- Visual Studio WinForms designer
- Win32 and GDI+ based rendering
- Rich built-in Windows controls
- Component model design-time extensibility
- High DPI and per-monitor improvements
- Accessibility standard updates
- Async-friendly API directions
- .NET and legacy Framework lineage
Use cases
- Internal line-of-business Windows apps
- Rapid desktop UI prototyping on Windows
- Migrating legacy WinForms to modern .NET
- Desktop tools needing native Windows controls