0

Suppose we have this code:

interface myInterface { long Test { set; get; } }

class myInterfaceImp : myInterface
{
    long myInterface.Test { get; set; }
}

and in our form, we set the propertygrid:

propertyGrid1.SelectedObject = new myInterfaceImp();

Unfortunately, PropertyGrid do not show explicit interface implementation. What should we do?

BHP
  • 443
  • 4
  • 13

1 Answers1

0

Create some kind of "View" object that knows how to display your myInterface implementation.

sarvasana
  • 642
  • 4
  • 13