This documentation is archived and is not being maintained.

Microsoft.Windows.Design.Metadata Namespace

Provides an attribute table for applying custom designer attributes to controls and elements.

Register your customer FeatureProvider implementations by implementing the IRegisterMetadata interface in a separate assembly dedicated to design-time metadata. Use the AttributeTableBuilder class to build an attribute table. Call the AddAttributeTable method in your Register implementation to enable your designer feature.

  ClassDescription
Public classAttributeCallbackBuilderAn instance of this class is passed to callback delegates to lazily populate the attributes for a type.
Public classAttributeTableA table of metadata attributes for defining design-time appearance and behavior.
Public classAttributeTableBuilderCreates an attribute table that can be passed to the metadata store.
Public classAttributeTableValidationExceptionRaised when the metadata provided in an AttributeTable does not match properties, methods and events on existing types.
Public classDeveloperMetadataInfrastructure. Represents FeatureProvider types, editors, and other attributes that provide the "developer designer" personality.
Public classMetadataStoreA container of custom design-time attributes.

  InterfaceDescription
Public interfaceIRegisterMetadataSpecifies a class that requests extra attributes to be added to the metadata store.

  DelegateDescription
Public delegateAttributeCallbackCalled when attributes are needed for a type.
Show: