Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Simple Data Binding for WinForms
C#
branch: master

Publish to nuget

latest commit 1c35752925
Michael Minton authored
Failed to load latest commit information.
build Automate publish to nuget.
src Version bump
.gitignore Automate publish to nuget.
Binda.0.0.19.nupkg Publish to nuget
README.md Update README.md
build.bat Automate building and packaging

README.md

Binda

Simple Data Binding for WinForms. It provides a easy way to get data from any POCO into a Form and back.

Features

  • Bind the public properties of an object to controls with a matching name and data type on a Form.
  • Ability to declare property aliases.
  • Ability to register custom .NET control types.

Planned Features

  • Support for complex controls (Combobox, DataGrid, etc.) that represent a composite object.

How do I get it?

Via NuGet

PM> Install-Package Binda

Via Source

git clone git://github.com/minton/Binda.git

How do I use it?

Basic example

var binda = new Binder();
binda.Bind(myObject, myForm);

More examples

Check out the Wiki for more examples.

How do I run the tests?

I used MSpec for testing and the Test Runner in Resharper. If you don't have Resharper I recommend you get it. If that's not an option you can still run the tests manually via the MSpec command-line runner like this:

mspec.exe BindaTests.dll

Have an issue?

Submit an issue directly on GitHub and we'll take a look.

Why WinForms?

A lot of developers, myself included, are still actively working with legacy code on platforms where there is weak support for data binding. Binda in combination with an ORM like Dapper will make working with WinForms much less tedious.

Credit

Binda began as a quick spike by Michael Minton to bind POCO to WinForms and has since evolved into something useful thanks to the contributions from Will Green.

How to contribute?

All contributions to the project are welcome. If you have a great idea how to make Binda even better submit a Pull Request.

Karma

endorse Do it!

Binda is provided under the Apache 2.0 License. Commercial use requires attribution.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

Something went wrong with that request. Please try again.