Just a few custom controls for Windows Forms that I've used in a couple of places.
This package is available on NuGet and currently targets .NET 4.7.2 and .NET 5.0.
It's probably better to look at a more modern solution for desktop apps going forward. However this is still maintained on an as-needed basis to service existing dependent Windows Forms projects.
ClipboardAwareTextBox
Inherits fromTextBox
and exposes events for clipboard events (cut/copy/paste).NativeStyleTreeView
ExtendsTreeView
and adds a property to toggle between the standard .NET TreeView appearance and the 'native' Explorer style appearance (updated expend/contract buttons and selection style)DragDropTreeView
Extends the aboveNativeStyleTreeView
control and adds the ability to re-order nodes via drag and drop. Remember to change theAllowDrop
property to true to enable this.Gauge
Gauge control based upon AGauge. Currently buggy when using 3D-style needles and there are more features to be implemented, but is usable.
A little Windows Forms app which demos some of the controls can be found in MarkEmbling.Forms.Controls.ExamplesNet472
.
It's not very comprehensive and targets .NET Framework 4.7.2 (you probably guessed that already).
- Move from targeting .NET Framework 4.5 to .NET Framework 4.7.2.
- Update Gauge to render correctly in a high DPI environment.
- Initial version of package. Effectively a continuation of the old
MarkEmbling.Utils.Forms
but with a slighty better name.