# ExportHandlerAttribute class

Namespace: [Eto](https://eto.picoe.ca/api/namespace/eto.md) · Assembly: [Eto](https://eto.picoe.ca/api/assembly/eto.md)

```cs
[AttributeUsage(AttributeTargets.Assembly, Inherited = false, AllowMultiple = true)]
public sealed class ExportHandlerAttribute : PlatformExtensionAttribute
```

Exports a handler from a 3rd party assembly.

**Remarks:** Use this to register a custom control from your custom assembly. Use [ExportInitializerAttribute](https://eto.picoe.ca/api/type/eto.exportinitializerattribute.md) when registering a lot of controls or to perform additional logic.

## Constructors

- [ExportHandlerAttribute](https://eto.picoe.ca/api/type/eto.exporthandlerattribute/ctor.md): Initializes a new instance of the `ExportHandlerAttribute` class.

## Properties

- [HandlerType](https://eto.picoe.ca/api/type/eto.exporthandlerattribute/handlertype.md): Gets the type of the handler to instantiate
- [WidgetType](https://eto.picoe.ca/api/type/eto.exporthandlerattribute/widgettype.md): Gets the type of the widget or handler interface to map to

## Methods

- [Register](https://eto.picoe.ca/api/type/eto.exporthandlerattribute/register.md): Registers the extension with the specified platform

## Inherited Members

- From [PlatformExtensionAttribute](https://eto.picoe.ca/api/type/eto.platformextensionattribute.md): [PlatformID](https://eto.picoe.ca/api/type/eto.platformextensionattribute/platformid.md), [Supports](https://eto.picoe.ca/api/type/eto.platformextensionattribute/supports.md)
