EventAttribute有:
  BrowsableAttribute 、CategoryAttribute、DescriptionAttribute、DefaultEventAttribute
PropertyAttribute有:
  BrowsableAttribute 、CategoryAttribute、DescriptionAttribute、DefaultPropertyAttribute、DefaultValueAttributeEditorAttribute、DesignerSerializationVisibilityAttribute、TypeConverterAttributeBindableAttribute、LocalizableAttribute

Attribute简明阐述如下:

   BrowsableAttribute:在Property窗口中是否可见。
  CategoryAttribute:Property或者Event所属的哪个组。
  DescriptionAttribute:Property或者Event的简单描述。
  DefaultEventAttribute:默认Event,选中组件,其Event默认选中在这个Event上.
  DefaultPropertyAttribute:默认Property,选中组件,其Property窗口中默认选中在这个Property上。

 

相关文章:

  • 2021-12-08
  • 2021-06-24
  • 2021-09-23
  • 2021-11-29
  • 2021-08-07
猜你喜欢
  • 2021-04-05
  • 2022-12-23
  • 2022-12-23
  • 2021-05-30
  • 2021-11-16
  • 2021-12-16
  • 2021-08-11
相关资源
相似解决方案