问题:
I know that attributes are extremely useful. 我知道属性非常有用。 There are some predefined ones such as [Browsable(false)]
which allows you to hide properties in the properties tab. 有一些预定义的,例如[Browsable(false)]
允许您在属性选项卡中隐藏属性。 Here is a good question explaining attributes: What are attributes in .NET? 这是一个很好的解释属性的问题: .NET中的属性是什么?
What are the predefined attributes (and their namespace) you actually use in your projects? 您在项目中实际使用的预定义属性(及其命名空间)是什么?
解决方案:
参考一: https://stackoom.com/question/bg1/最有用的属性-关闭参考二: https://oldbug.net/q/bg1/Most-Useful-Attributes-closed
来源:oschina
链接:https://my.oschina.net/u/4432649/blog/4329271