ExControls 2.2.0

dotnet add package ExControls --version 2.2.0
                    
NuGet\Install-Package ExControls -Version 2.2.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ExControls" Version="2.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ExControls" Version="2.2.0" />
                    
Directory.Packages.props
<PackageReference Include="ExControls" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ExControls --version 2.2.0
                    
#r "nuget: ExControls, 2.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ExControls@2.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ExControls&version=2.2.0
                    
Install as a Cake Addin
#tool nuget:?package=ExControls&version=2.2.0
                    
Install as a Cake Tool

ExControls

Extended controls for Windows Forms with dark mode themes and a custom title bar.

Documentation: filif123.github.io/ExControls

ExControls extends the classic WinForms controls so that an application can draw them in its own colors, for example in a dark theme, and adds controls that WinForms lacks. The library was originally created for the dark mode of the GVDEditor program.

Features

  • Ex* versions of the common WinForms controls (ExButton, ExComboBox, ExTextBox, ExTreeView, ExTabControl…) that draw in the colors of a theme, also when disabled, and switch back to the Windows look.
  • Themes: an ExTheme palette that ExThemer applies to Ex* controls and, through registered handlers, to any other control.
  • ExForm with a custom title bar (ExTitleBar) that hosts the main menu, and the caption colors, corners and backdrop of Windows 11.
  • ExDockManager: dockable tool panels like Visual Studio with docking guides, auto-hide, floating windows and a saved layout.
  • ExOptionsView: a settings window with a searchable tree of pages.
  • ExCalendar and ExDateTimePicker drawn by the library, ExMessageBox in the theme colors, undo/redo history with an action chooser.
  • Support for the Visual Studio designer in .NET Framework and .NET projects.

Installation

dotnet add package ExControls

The package targets .NET Framework 4.8, .NET 8 and .NET 10 on Windows.

Quick start

var dark = new ExTheme
{
    DarkScrollBars = true,
    PanelBackColor = Color.FromArgb(43, 45, 48),
    PanelForeColor = Color.FromArgb(223, 225, 229),
    BoxBackColor = Color.FromArgb(30, 31, 34),
    BoxForeColor = Color.FromArgb(223, 225, 229),
    // ...
};

ExThemer.Apply(form.Controls, dark);   // Ex* controls switch to the custom style
form.BackColor = dark.PanelBackColor;
form.DarkTitleBar = true;

See Getting started, Themes, Controls and the API reference. What changed in each version is in Changes.

Contributing

Building, the designer extension, toolbox icons, the documentation and releases are described in CONTRIBUTING.md.

License

MIT, see LICENSE. Toolbox icons come from .NET Windows Forms and Fluent UI System Icons (both MIT), see THIRD-PARTY-NOTICES.md.

Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows was computed.  net10.0-windows7.0 is compatible. 
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.2.0 48 12/2/2026
2.1.0 76 11/21/2026
2.0.0 95 10/25/2026
1.0.0 324 6/22/2023
1.0.0-beta 191 6/21/2023