Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/markembling/markembling.forms.controls

A few custom controls for Windows Forms.
https://github.com/markembling/markembling.forms.controls

dotnet library winforms

Last synced: about 2 months ago
JSON representation

A few custom controls for Windows Forms.

Awesome Lists containing this project

README

        

MarkEmbling.Forms.Controls
=======================

Just a few custom controls for Windows Forms that I've used in a couple of places.

This package is [available on NuGet](https://www.nuget.org/packages/MarkEmbling.Forms.Controls/) 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.

### Controls

- `ClipboardAwareTextBox`
Inherits from `TextBox` and exposes events for clipboard events (cut/copy/paste).
- `NativeStyleTreeView`
Extends `TreeView` 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 above `NativeStyleTreeView` control and adds the ability to re-order nodes via drag and drop. Remember to change the `AllowDrop` property to true to enable this.
- `Gauge`
Gauge control based upon [AGauge](http://www.codeproject.com/Articles/448721/AGauge-WinForms-Gauge-Control). Currently buggy when using 3D-style needles and there are more features to be implemented, but is usable.

### Examples

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).

### Changes

#### Version 2.0.0

- Move from targeting .NET Framework 4.5 to .NET Framework 4.7.2.
- Update Gauge to render correctly in a high DPI environment.

#### Version 1.0.0

- Initial version of package. Effectively a continuation of the old `MarkEmbling.Utils.Forms` but with a slighty better name.