【发布时间】:2010-12-09 07:02:21
【问题描述】:
我有一堆实现不同接口的对象,这些接口的一些属性应该通过 PropertyGrid 显示和编辑,但是如果我指定诸如 DisplayName、Browsable 或 DescriptionAttribute 之类的东西,它们将不会被类“继承”实现接口......这是为什么?有什么解决办法吗?
【问题讨论】:
-
您将在 2 个现有帖子中看到一些解释。 What’s the use of attributes on an interface?
标签: c# propertygrid system.componentmodel