Click or drag to resize

ExportHandlerAttribute Class

Exports a handler from a 3rd party assembly.
Inheritance Hierarchy

Namespace:  Eto
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
[AttributeUsageAttribute(AttributeTargets.Assembly, Inherited = false, AllowMultiple = true)]
public sealed class ExportHandlerAttribute : PlatformExtensionAttribute

The ExportHandlerAttribute type exposes the following members.

Constructors
  NameDescription
Public methodExportHandlerAttribute
Initializes a new instance of the ExportHandlerAttribute class.
Top
Properties
  NameDescription
Public propertyHandlerType
Gets the type of the handler to instantiate
Public propertyWidgetType
Gets the type of the widget or handler interface to map to
Top
Methods
  NameDescription
Public methodRegister
Registers the extension with the specified platform
(Overrides PlatformExtensionAttributeRegister(Platform).)
Top
Remarks
Use this to register a custom control from your custom assembly. Use ExportInitializerAttribute when registering a lot of controls or to perform additional logic.
See Also

Reference