/ncWPFFormsLib

A library to quickly generate dialog, and get dynamic model binding back as a result

Primary LanguageC#

nac.wpf.forms

  • Library to build WPF GUI apps quickly

  • nuget package nac.wpf.forms

Examples

Simple form with a button

  • var form = new Form();
    int clickCount = 0;
    form
      .TextBoxFor("Status")
      .ButtonWithLabel("Click Me!", (sender, args) =>
                       {
                           form.Model["Status"] = $"Clicked {++clickCount} times";
                       })
      .Display();
  • image-20211124123145722