The Wpf Scaffolder is a control that lets you create simply UI based on entities (a lá Dynamic Data). The control highly relies on attributes from System.Component like
  • DisplayName
  • Bindable
  • ListBindable
  • ComplexBindingProperties

You can specify your POCO like this

 public class Product
    {
        [DisplayName("Product Name")]
        [Bindable(true)]
        public string ProductName { get; set; }

        public int ID { get; set; }

        [DisplayName("Quantity")]
        [Bindable(true)]
        public int Quantity { get; set; }

        [DisplayName("Attributes")]
        [ListBindable(true)]
        public List<string> Attributes { get; set; }
    }


and the Wpf Scaffolder will render a control like this:

Last edited Jul 17, 2012 at 7:30 PM by JLuisEstrada, version 1

Comments

No comments yet.