Simple Data Binding for WinForms. It provides a easy way to get data from any POCO into a
Form and back.
- Bind the public properties of an object to controls with a matching name and data type on a
- Ability to declare property aliases.
- Ability to register custom .NET control types.
- Support for complex controls (
DataGrid, etc.) that represent a composite
PM> Install-Package Binda
git clone git://github.com/minton/Binda.git
var binda = new Binder(); binda.Bind(myObject, myForm);
Check out the Wiki for more examples.
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:
Submit an issue directly on GitHub and we'll take a look.
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.
All contributions to the project are welcome. If you have a great idea how to make Binda even better submit a Pull Request.
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.