ASPxDesignerControlsFactory.registerControl(String, ASPxDesignerToolboxItem) Method

Registers the specified control in the Toolbox of the Web Report Designer.

Namespace: DevExpress.XtraReports.Web.Scripts

Assembly: DevExpress.XtraReports.v18.1.Web.Scripts.dll

Declaration

public void registerControl(
    string typeName,
    ASPxDesignerToolboxItem metadata
)
Public Sub registerControl(
    typeName As String,
    metadata As ASPxDesignerToolboxItem
)

Parameters

Type Name Description
String typeName

A string that specifies the name of a custom control.

ASPxDesignerToolboxItem metadata

An ASPxDesignerToolboxItem object that provides information about a toolbox item.

For a step-by-step tutorial on how to add a custom control, see Register a Custom Control in the Report Designer Toolbox.