NetForms.ExtraControls
0.1.2
See the version list below for details.
dotnet add package NetForms.ExtraControls --version 0.1.2
NuGet\Install-Package NetForms.ExtraControls -Version 0.1.2
<PackageReference Include="NetForms.ExtraControls" Version="0.1.2" />
<PackageVersion Include="NetForms.ExtraControls" Version="0.1.2" />
<PackageReference Include="NetForms.ExtraControls" />
paket add NetForms.ExtraControls --version 0.1.2
#r "nuget: NetForms.ExtraControls, 0.1.2"
#:package NetForms.ExtraControls@0.1.2
#addin nuget:?package=NetForms.ExtraControls&version=0.1.2
#tool nuget:?package=NetForms.ExtraControls&version=0.1.2
NetForms.ExtraControls
Extra controls for NetForms — Windows Forms for .NET 10 on Windows and Linux.
They are ordinary WinForms controls (class ToggleSwitch : Control with its own OnPaint), so they work in any NetForms
application and show up in the NetForms Designer toolbox with their icons, properties and events.
| Control | What it is |
|---|---|
ToggleSwitch |
An on/off switch. Checked, CheckedChanged, OnColor, OffColor, ThumbColor. |
RatingStars |
A row of stars for a rating. Value, Maximum, ReadOnly, ValueChanged; mouse and arrow keys. |
CircularProgressBar |
A round progress indicator. Value, Minimum, Maximum, LineWidth, ShowPercentage, Increment(). |
GradientPanel |
A Panel with a gradient background. StartColor, EndColor, GradientMode. A container. |
ColorPickerButton |
A button with a colour swatch that opens the ColorDialog. SelectedColor, SelectedColorChanged. |
CountdownTimer |
A component (in the designer's tray): counts Duration down. Start(), Stop(), Reset(), Tick, Finished. |
Install
dotnet add package NetForms.ExtraControls
or, in VS Code with the NetForms Designer: NetForms: Add Control Library… → NuGet package…, type
NetForms.ExtraControls. The toolbox gets a NetForms.ExtraControls group; drag a control onto the form.
Use it in code
using NetForms.ExtraControls;
var wifi = new ToggleSwitch { Text = "Wi-Fi", Checked = true, Location = new Point(12, 12), Size = new Size(120, 24) };
wifi.CheckedChanged += (_, _) => statusLabel.Text = wifi.Checked ? "On" : "Off";
Controls.Add(wifi);
The source is in the NetForms repository, src/NetForms.ExtraControls — also a worked example of writing a control
library for NetForms: Control libraries.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- NetForms (>= 0.1.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.