Component Attributes

There are dozens of attributes that we have not covered yet. You already know how to use attributes in general. The only thing you have to do is discover the attribute's name, determine its purpose and its positional and named arguments, and you will be able to subclass or employ those attributes.

To provide you with a starting point, several attributes that you might see in other sections of this book are listed by name.

There are several component attributes. These include the following:

BindableAttribute DescriptionAttribute
BrowsableAttribute DesignerAttribute
CategoryAttribute DesignerSerializableAttribute
DefaultEventAttribute EditorAttribute
DefaultPropertyAttribute LocalizableAttribute
DefaultValueAttribute TypeConverterAttribute ...

Get Visual Basic® .NET Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.