ExControls 2.0.0
See the version list below for details.
dotnet add package ExControls --version 2.0.0
NuGet\Install-Package ExControls -Version 2.0.0
<PackageReference Include="ExControls" Version="2.0.0" />
<PackageVersion Include="ExControls" Version="2.0.0" />
<PackageReference Include="ExControls" />
paket add ExControls --version 2.0.0
#r "nuget: ExControls, 2.0.0"
#:package ExControls@2.0.0
#addin nuget:?package=ExControls&version=2.0.0
#tool nuget:?package=ExControls&version=2.0.0
Extended controls for Windows Forms.
This library features extensions over some of the classic controls, most of which expand their ability to customize visuals and colors. The ExControls library was originally created as part of the GVDEditor program for the dark mode of the graphical interface.
These controls have been extended:
- ComboBox (also its variant in ToolStrip and DataGridView)
- DateTimePicker (partial)
- GroupBox
- CheckBox (also its variant in DataGridView)
- CheckedListBox
- MaskedTextBox
- NumericUpDown
- RadioButton
- TabControl
- TextBox
These controls have been added:
- LineSeparator
- TitleBar (custom title bar of
ExFormwith the main menu)
These components have been extended:
- FolderBrowserDialog
Themes
ExTheme is a color palette. Ex* controls implement IThemeable and style themselves;
ExThemer.Apply(form.Controls, theme) walks the controls. Controls outside the library (DataGridView, ToolStrip,
Panel…) are styled by handlers registered with ExThemer.Register<T>.
Custom title bar
ExTitleBar placed directly on an ExForm (docked to the top) replaces the system caption: the window icon on the left,
the window buttons on the right and controls such as the main MenuStrip in between (in a narrow window it collapses
into ☰). The system frame stays (shadow,
Aero Snap, Snap Layouts, animations); the free space of the title bar and empty parts of its tool strips drag the window.
It works on Windows 10+ with any FormBorderStyle except None; TitleBarBackColor and TitleBarForeColor of the
form color the title bar (an active window otherwise follows the Windows accent color on title bars), FormStyle
(Mica…) shows only in the system caption. The designer shows
the form without the system caption and frame, so the designed ClientSize matches the runtime window. Do not use
TextBox.PlaceholderText on an ExForm with UseCompositedPainting (WS_EX_COMPOSITED repaints it endlessly) -
use ExTextBox.HintText.
Visual Studio designer
In .NET projects the package brings its own designer extension (collection editor of ExOptionsView.Panels),
Visual Studio loads it automatically.
Breaking changes in 2.0
System.Linq.Enumerableextensions renamed toExEnumerable.IsExternalInitpolyfill (.NET Framework) is internal.- Removed unused
ExStyle,ExStyleManager,IStylable,ISupportsDefaultStyle,ExApplication,ExAppTheme,ExStyleOld(members moved toExComboBoxStyle) and the unfinishedExFormDesigner(replaced byExTitleBar). ExTools.SetTitlebarAndBorderColor(IntPtr, ...)no longer swaps the text and border colors (wrong DWM attribute numbers, theFormoverload compensated them).ExForm.DarkTitleBarandTitleBarBackColorno longer reset each other (the caption color takes precedence), empty title bar colors restore the system colors also after the form is shown.
License
MIT. Toolbox icons come from .NET Windows Forms and Fluent UI System Icons (both MIT), see THIRD-PARTY-NOTICES.md in the package.
| Product | Versions 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. |
-
.NETFramework 4.8
- System.Resources.Extensions (>= 9.0.0)
-
net10.0-windows7.0
- Microsoft.Windows.Compatibility (>= 10.0.13)
- Microsoft.WinForms.Designer.SDK (>= 1.6.0)
-
net8.0-windows7.0
- Microsoft.Windows.Compatibility (>= 10.0.13)
- Microsoft.WinForms.Designer.SDK (>= 1.6.0)
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 |