Appendix A. Metadata Attributes

This appendix describes the set of metadata attributes that are commonly applied to server controls. The attributes are listed under two broad categories:

  • Design-time attributes

  • Parse-time attributes

Design-Time Attributes

Your control does not require design-time attributes to function in a page. However, design-time attributes are essential for your control to function properly in a visual designer. The designer, the property browser, and other design-time elements use the metadata supplied by design-time attributes for the following purposes:

  • To display properties and events

  • To perform design-time serialization

  • To associate classes that implement design-time functionality with a control or with a property type

In the ...

Get Developing Microsoft® ASP.NET Server Controls and Components 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.