DotNetBar for Windows Forms Advanced PropertyGrid control provides complete support for ICustomTypeDescriptor interface that you can use to provide completely virtual properties that are shown and edited in property grid.

This involves implementing ICustomTypeDescriptor interface on your object and the at least providing list of custom properties returned from GetProperties(Attribute[] attributes) method that you implement as part of ICustomTypeDescriptor interface.

Download C# project that shows how to do this.

Download VB project that shows how to do this.

Related posts:

  1. How to add custom panels to AdvPropertyGrid
  2. How to change the width of columns in AdvPropertyGrid – WinForms
  3. How to create Excel like popup border toolbar
  4. Commands in DotNetBar for Windows Forms
  5. What is InitializeComponent() method and how to use it to learn how to create controls from code